I have a use case where Checkboxs are for display only (ie readonly). So I configured a readonly:true as a property for a Checkbox and added one line of code to the ‘checkbox’ protoUI routine around line 6346:
toggle:function(){
if (this.config.readonly) { return; } // <---- added
this.setValue(!this.getValue());
},
It would be really useful to add the readonly feature to Checkboxes.
Thanks,
Kris