-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pie-textarea): DSW-2139 label and character count (#1666)
* feat(pie-textarea): DSW-2132 add textarea form functionality * docs(pie-textarea): DSW-2132 update README.md file * fix(pie-textarea): DSW-2132 remove defaultValue prop and update story * feat(pie-textarea): DSW-2132 add component tests * fix(pie-textarea): DSW-2132 change textarea width and lint fix * add label and char count to template * restrict length in lifecycle hooks * fix(pie-textarea): DSW-2132 add handleResize method to handleInput * feat(pie-textarea): DSW-2132 prevent form submission * test(pie-textarea): DSW-2132 add test to prevent form submission on Enter * tests * tests * tests * test diagnostic log * try to fix test * tmp remove pasting test * remove unused param in test * rtl visual test * remove unnecessary super call from firstupdated * ensure textarea value is trimmed to avoid height bugs on resize * visual test rtl --------- Co-authored-by: leksaBoiko <[email protected]> Co-authored-by: leksaBoiko <[email protected]> Co-authored-by: Ben Siggery <[email protected]>
- Loading branch information
1 parent
d4be4fc
commit 576945a
Showing
11 changed files
with
301 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"pie-storybook": minor | ||
--- | ||
|
||
[Added] - Character count and label to pie-textarea |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@justeattakeaway/pie-form-label": minor | ||
--- | ||
|
||
[Added] - data test id to leading and trailing label content |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@justeattakeaway/pie-textarea": minor | ||
--- | ||
|
||
[Added] - Character count and label |
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.