ColorField for ExtJS 4.0

Do you know any implementation of ColorField for ExtJS 4.x?

I am trying to create my own (looking for the source code of DateField), but the background of the picker is transparent and I cannot fix it :(

enter image description here

This is how I create the color picker:

Ext.create('Ext.picker.Color', { pickerField: me, ownerCt: me.ownerCt, renderTo: document.body, floating: true, hidden: true, focusOnShow: true, listeners: { scope: me, select: me.onSelect }, keyNavConfig: { esc: function() { me.collapse(); } } 

PS I ask here because at the Sencha Forum I never get (even one) answer

+6
source share
1 answer

Why don't you try adding something like style: {backgroundColor: "#ddd"} to your collector's configuration?

+3
source

Source: https://habr.com/ru/post/893245/


All Articles