PDA

View Full Version : Add clarification of field date of editable vs hideTrigger vs readOnly



Nux
21 Mar 2018, 7:13 AM
For `Ext.form.field.Text` using `editable` is enough. For `Ext.form.field.Date` there is a completely different story. Documentation of Ext.form.field.Date#editable should clarify that. Something like:


editable: false -- only disables typing in the field. See also #hideTrigger and #readOnly.
hideTrigger: true -- only removes basic trigger-button (calendar button). See also #editable.
readOnly: true -- removes calendar button, disables click-trigger and disables editing. See also #hideTrigger and #editable.