Problem/Motivation
To improve flexibility for people using this module, it would be good to allow the option to disable some of the features this module provides (although probably not recommended).
For example, one could choose to disable the HTML5 validation that is added to all forms, and selectively decide which forms can have HTML5 validation (e.g. Webform module already provides a toggle for this - which is overridden by this module).
Proposed resolution
Provide a configuration schema and settings page to select which features to enable (defaults to everything enabled).
Remaining tasks
Create a MR with this functionality
User interface changes
An extra settings page would be added. No other UI changes needed.
API changes
/
Data model changes
/
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 3523319--feature-selection-4.patch | 9.57 KB | svendecabooter |
Issue fork a11y_form_helpers-3523319
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
svendecabooterComment #4
svendecabooterI created a MR to add this functionality.
For the selectable prefill attributes for form elements I didn't add an option, as this needs to be configured per field widget manually anyway, AFAIK.
Attached is also a patch version of the MR changes, for Composer based workflows.
Comment #7
tessa bakkerThanks for the great work.
Will be added to the upcoming release.
Comment #9
svendecabooterThanks!