RocketChat / fuselage

React port of Rocket.Chat's design system, Fuselage
https://rocketchat.github.io/fuselage/
MIT License
107 stars 143 forks source link

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

Open SySagar opened 3 months ago

SySagar commented 3 months ago

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

preeesha commented 3 months ago

Thanks for reporting the issue @SySagar.

I am working on this.

SySagar commented 2 months ago

@dougfabris Should I start working on this?

preeesha commented 2 months ago

Hey @SySagar, I am working on this and will create a PR soon.

SySagar commented 2 months ago

sure. No problem