http://webix.com/snippet/c0d91ffc
I’m using elementsConfig option for setup validation. But validation for read-only field ‘mac’ works as in other fields. For disabled validation need set validateEvent: ‘none’ or ‘false’. I think it’s bug. Is enough to specify validation: false(boolean) to disabling validation
You have a validation rule applied to all elements in the form, including the readonly one.
elementsConfig:{
labelWidth: 150,
validate: IpValidate,
If you need to apply validation for some specific fields only, move it to the inputs config.
Is enough to specify validation: false(boolean) to disabling validation
Yes, I see the problem. But still it will be more correct to define validation for necessary fields only, instead of enabling a common rule for all elements, and disabling it for some specific field only.
My way would slightly reduce the code, that using in ExtJS.
Greate thanks for help, Maksim!
You can define a “None” validation rule