How can I validate a checkboxfield in a form? I want the form to be valid ONLY if the checkboxfield is selected/checked. How can I achieve this?
I have created this fiddle: https://fiddle.sencha.com/#view/editor&fiddle/359u
xtype: 'checkboxfield',
name: 'accept',
required: true,
If I remove the required: true, for the checkboxfield then the form is valid.
I am using Extjs 7.1.0 Modern