-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Form submission to FormElement subclasses
- Relies on `FormDataEvent`, which is supported by Chrome, Firefox, and Edge. - Safari and IE will need a polyfill - Require `disabled` properties on FormElement subclasses - Add `setFormData()` function to control what is added to the Form submission - Set `checkbox` and `radio` `value` property to `on` by default, to match native controls Fixes #289 PiperOrigin-RevId: 385248919
- Loading branch information
1 parent
2b133cb
commit ae4f422
Showing
17 changed files
with
654 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.