extjs6.5

Ext JS 6 colorfield UX - show color instead of value

爱⌒轻易说出口 提交于 2019-12-11 07:29:29
问题 Trying to use the colorfield UX and the default is that after you choose a color it shows the hex value of that color in the picker. My users don't know what that means... how can I instead set the background-color of the picker to the chosen color (without the text hex value)? Thanks! fiddle 回答1: You cannot easily remove the value from the input field, because that would cause issues with the picker and form submission. You can, however, adjust both text color and background color: listeners