Thank you for reporting this bug. We will make it our priority to review this report.
-
Sencha User
[6.7 Modern] Chips of readOnly/disabled multiSelect selectfields can still be closed
Fiddler:
https://fiddle.sencha.com/#view/editor&fiddle/2s6r
Expected behavior:
The chips of a readOnly/disabled selectfield should not be closable.
Workaround:
Code:
Ext.define(null, {
override: 'Ext.field.Select',
privates: {
onChipCloseTap: function() {
var me = this;
if(!me.getReadOnly() && !me.getDisabled()) {
return me.callParent(arguments);
}
return false;
}
}
});
-
Ext Support Team
Hello,
Thank you for contacting Sencha Support!
I have registered this as a bug in our tracker under reference number EXTJS-28331, the override has been updated too for the Engineering team's review.
Regards,
Kumar
Sencha Support.