-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add non-broken fallback text when maxlength/maxwords is 0
this may become more common as we allow customising the attribute in JavaScript now. The wording may need to be reviewed, but we should output something under the field in any case to avoid a layout shift when the JavaScript kicks in. Unfortunately, before JavaScript kicks in, we can't tell if it'll be characters or words (nor the limit)
- Loading branch information
1 parent
f199990
commit e2235a1
Showing
3 changed files
with
22 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
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