-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use input-message to display validation messages for invalid fi…
…elds after form submission (#8574) **Related Issue:** #8000 ## Summary - Replaces the native popover displayed on form elements with invalid values after form submission. - The `calcite-input-message` used to display the validation message is cleared once the component's Change event fires (or Input event for `calcite-input`, `calcite-input-number`, `calcite-input-text`, and `calcite-text-area`). - Non-calcite form elements will still display the native popover to prevent a breaking change. It is up to the developer replace the native popover with a `calcite-input-message` to prevent UI inconsistencies. - This change may cause layout shifting after form submission due to adding a `calcite-input-message` under calcite form elements with invalid values.
- Loading branch information
Showing
9 changed files
with
487 additions
and
123 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
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.