Success! Looks like we've fixed this one. According to our records the fix was applied for
INS-266
in
a recent build.
-
Sencha Premium Member
Answered: Feature request: Editable text fields in color editor
Not sure if this is the right place to post this or not. I'm using the Sencha Inspector with the fashion tag to modify the theme variables on the app. It is a lot of extra work to have to use the color picker/sliders to modify the color values; since it's displaying them in text fields, would it be possible to have those text fields editable? In particular the hex value field; would be so much easier to be able to copy/paste a value in there instead of setting the R, G, and B fields separately. Thanks!
-
Best Answer Posted by
arthurakay
I have fixed this (sort-of) in our upcoming GA release. You will now be able to edit the value seen in the grid cell, before you open the color-picking popup.
Part of the problem is that Ext.ux.colorpick.Selector has the fields you mention marked as read-only. In our case, the grid's cell editor is an instance of Ext.ux.colorpick.Field -- which itself creates an instance of Ext.ux.colorpick.Selector for its popup. Therefore there are three layers of indirection between the grid (containing the key/value pairs of variable names/values) and the selection popup -- and I can't change that behavior without major surgery.
http://docs.sencha.com/extjs/6.0/6.0...rpick.Selector
Hopefully this improvement is "good enough" for now, but I agree that we should make those inputs editable eventually.
-
Thanks for the request! We have this on our list already, but I've linked this thread to that ticket.
-
I have fixed this (sort-of) in our upcoming GA release. You will now be able to edit the value seen in the grid cell, before you open the color-picking popup.
Part of the problem is that Ext.ux.colorpick.Selector has the fields you mention marked as read-only. In our case, the grid's cell editor is an instance of Ext.ux.colorpick.Field -- which itself creates an instance of Ext.ux.colorpick.Selector for its popup. Therefore there are three layers of indirection between the grid (containing the key/value pairs of variable names/values) and the selection popup -- and I can't change that behavior without major surgery.
http://docs.sencha.com/extjs/6.0/6.0...rpick.Selector
Hopefully this improvement is "good enough" for now, but I agree that we should make those inputs editable eventually.
-
Sencha Premium Member
I would think that will be sufficient for now; it already would do that for colors defined as "#fff" instead of "#ffffff" and it was useful. Thanks!