-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
va-button: add submit functionality (#1174)
* dispatch submit * comment out story on click * adds option to trigger onsubmit callback w/o sending form * removes an alert used for debbugging * removes commented code; removes dontSendForm and megreges functionality with submit attribute * removed native HTML button from story * fix to pass submit unit tests * added a safety check, in case the button has no ancester form * add unit tests; fix comment typos * adds e2e tests; fix blank submit bug * clean up comments; storybook submit now doesnt navigate away * corrects typo * updates components.d.ts
- Loading branch information
1 parent
aed4c47
commit 47cb262
Showing
5 changed files
with
152 additions
and
34 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
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