0001-a11y-don-t-mark-individual-checkboxes-as-required-41.patch
wcs/qommon/form.py | ||
---|---|---|
1159 | 1159 |
if self.options_with_attributes and option[-1].get('disabled'): |
1160 | 1160 |
element_kwargs['disabled'] = 'disabled' |
1161 | 1161 |
self.disabled_options.append(name) |
1162 |
# don't mark individual checkboxes as required |
|
1163 |
element_kwargs.pop('required', None) |
|
1162 | 1164 | |
1163 | 1165 |
if value and key in value: |
1164 | 1166 |
checked = True |
1165 |
- |