extnet / Ext.NET

35 stars 41 forks source link

Editing a colorSelector from the input fields does not work #1473

Closed fabriciomurta closed 7 years ago

fabriciomurta commented 7 years ago

Found: 4.2.0 Ext.NET forum thread: ColorField does not use new value when the change was made in the RGB text fields

The color selector component does not update the color in Ext.NET when the change is made in one of the editable color fields. This is reproducible directly in the example at Advanced color picker components overview.

Testing with the fiddle provided from ExtJS documentation, the issue is not reproducible. The fiddle code may be changed to this for easier comparison:

Ext.create('Ext.ux.colorpick.Selector', {
    value     : '993300',  // initial selected color
    renderTo  : Ext.getBody(),
    showOkCancelButtons : true,
    listeners: {
        ok: function (colorselector, color) {
            Ext.Msg.alert('New color', color);
        }
    }
});

So, this issue is exclusive to Ext.NET.

fabriciomurta commented 7 years ago

It seems the colorpicker UX was not updated since Ext.NET 4.0 (ExtJS 6.0.1). This was added to the Ext.NET upgrade documentation.