-
-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jeremy/GITC-565/fix Twitter handle feature (#9661)
* remove maxlength from input and add onPaste function to transform input value * refactor * refactor onPaste to onBlur so that this works no matter how the URL is entered * refactor onBlur and add refine test * refactor following code review * refactor two regexps into single expression * slight refactor * slight refactor * refactor * run eslint fixes * typo fix * add missing comma * add missing semicolons * refactor * do not allow twitter handles smaller than 4 characters long * refactor Co-authored-by: Chibuotu Amadi <[email protected]>
- Loading branch information
Showing
3 changed files
with
27 additions
and
6 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