Do you know any ColorField implementation for ExtJS 4.x?
I try to create my own (looking DateField source code) but the picker background is transparent and I can't fix it :(
This is how I create 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();
}
}
P.S. I ask here, because on Sencha Forum I never get an (even a single) answer
Why don't you try adding something like style: {backgroundColor: "#ddd"}
into your picker's config?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With