RocketChat / RocketChat/fuselage

TelephonicInput: requires validation for number , '+' and braces only

Open
#1,332 6 comments 0 reactions 0 assignees View on GitHub

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

  1. Go to fuselage components

  2. Type anything inside the text field

  3. It should show it as invalid rather it doesn't shows anything

Insert an image/gif
Capture

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.