-
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.
chore(text-area): adds message to improve context when character limi…
…t exceeds. (#7021) **Related Issue:** #6630 ## Summary This PR will add message string in `calcite-text-area` to improve context of error message when character limit exceeds.
- Loading branch information
1 parent
ad25cbe
commit 5c5149d
Showing
2 changed files
with
4 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"invalid": "Invalid", | ||
"tooLong": "Character limit exceeded" | ||
"tooLong": "Character limit exceeded", | ||
"longText": "The current character length is ${currentLength}, which exceeds the maximum character length of ${maxLength}." | ||
} |
3 changes: 2 additions & 1 deletion
3
src/components/text-area/assets/text-area/t9n/messages_en.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"invalid": "Invalid", | ||
"tooLong": "Character limit exceeded" | ||
"tooLong": "Character limit exceeded", | ||
"longText": "The current character length is ${currentLength}, which exceeds the maximum character length of ${maxLength}." | ||
} |