Comments (2)
@alexplumb +1 here, I tried to set the required prop, but when we use the dialcode in the input, it will always accept it because there is some data in the field.
Do you have a work around for that? As Brian point of it could be nice to example set a min length etc. :)
Thanks for looking into it!
from material-ui-phone-number.
you can add it like that:
inputProps={{ minlength: 5, }}
from material-ui-phone-number.
Related Issues (20)
- Missing countries like Antarctica (+672) and Christmas Island (+61) HOT 2
- Add localization support HOT 1
- Masks are missing
- Doesn't work with Firefox HOT 4
- Useless clone of a wonderful component HOT 1
- Dense margin not applied properly
- There is no way to hide the prefix
- Can't disable country selection if input is saved and disabled HOT 1
- Content security Policy "nonce" tag for style element
- Issue on long prefixes, freezes the value
- Doesn't work with Morocco HOT 2
- React 18 support HOT 3
- Country conflict USA & CA HOT 2
- Bundle Size
- Flag with broke style on Firefox HOT 3
- Bug in typescript regions HOT 2
- React 18.2.0 not supported HOT 1
- Static files for nation flags have been unavailable. 404 when requesting
- Changing the input changes the flag as well.
- Phone Number Code for Guam
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui-phone-number.