RocketChat / RocketChat/fuselage
TelephonicInput: requires validation for number , '+' and braces only
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 162
- Forks
- 258
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 24
Description
Description
Currently the telephonic input accepts anything i.e. strings, numbers, symbols like %,&,) etc. It should be made to accept only numbers with few paramters like + and ()
Steps to reproduce
-
Go to fuselage components
-
Type anything inside the text field
-
It should show it as invalid rather it doesn't shows anything
Insert an image/gif
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the TelephonicInput component shown in the Fuselage components documentation and reproduce the behavior described in the issue. Determine the existing validation path and add coverage for accepted numbers, plus signs, and parentheses, as well as rejected letters and other symbols. Done means invalid telephone input is visibly marked invalid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100