unclecheese / silverstripe-display-logic

The Display Logic module allows you to add conditions for displaying or hiding certain form fields based on client-side behavior.
BSD 3-Clause "New" or "Revised" License
74 stars 71 forks source link

update form templates to support aria roles #137

Open phil-quinn opened 2 years ago

phil-quinn commented 2 years ago

makes the form fields use the $Role attribute like the default SilverStripe fields do in:

vendor/silverstripe/framework/templates/SilverStripe/Forms/CheckboxSetField.ss vendor/silverstripe/framework/templates/SilverStripe/Forms/OptionsetField.ss