• Resolved tajim

    (@tajim)


    Labels on Multicolor field is showing the default value now instead of the Label added in choices.

    It used to show labels I have given in the choices array.

    You have added “__ = wp.i18n.__;” in the latest version of the wp-color-picker-alpha.js file but ‘wp-i18n’ as the dependency has not been added in the class-kirki-control-base.php file where you enqueue ‘wp-color-picker-alpha’

    which is why it now shows an error.

    wp-color-picker-alpha.js?ver=3.1.3:21 Uncaught TypeError: Cannot read property ‘__’ of undefined

    If I add the ‘wp-i18n’ dependency in array then the error message goes away and the correct labels are showing in Customizer MultiColor field.

    Can you please add the dependency and send an update to the plugin.

    I had created an issue on your Github but got no reply so adding it here
    https://github.com/kirki-framework/kirki/issues/2338

    Regards
    Tajim

    • This topic was modified 4 years, 8 months ago by tajim. Reason: removed text
    • This topic was modified 4 years, 8 months ago by tajim.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multicolor Field – Custom Labels Missing’ is closed to new replies.