-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(textarea): add maxlength via strapi defaulting to 5000 (#1534)
* feat(textarea): add possibility to set max char length * ref(textarea): renaming to natural name maxLength * ref: move defaulting into textarea instead of strapiTextArea * add test defaulting to TEXTAREA_CHAR_LENGTH and to manuel limit * remove test for setting the max length cause its a browser behaviour and shouldnt be test * remove maxLength from FeedBackFormBox cause its default * put maxLength out of initialInputProps and passed it as an props
- Loading branch information
Showing
3 changed files
with
44 additions
and
4 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