-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add validation message to custom CSS input (#47132)
* Add custom error message * Only check for errors on blur * Fix big with value not being passed by onBlur method * Remove duplicate notice * Switch to icon instead of notice * Make error a bit more user friendly * Clear error onBlur when value is empty --------- Co-authored-by: Glen Davies <glen.davies@automattic.com> Co-authored-by: George Mamadashvili <georgemamadashvili@gmail.com>
- Loading branch information
1 parent
793cd39
commit bed9351
Showing
2 changed files
with
57 additions
and
1 deletion.
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