ngx-intl-tel-input
ngx-intl-tel-input copied to clipboard
Add input mask to use valid phone number format

We can use this way. Add a mask to the input box.
@pasevin @Dviejopomata and others, please share your thoughts on this
By mask, you mean: '__-___-____' ?
From the feature perspective, I don't mind, as long as the library stays flexible and you can enable/disable this feature.
I wouldn't want to impose certain design features on users, who might want to customize their inputs. This is why I added cssClass option. Because I had this issue :)
Okay sure, let's leave this feature to users, they will up-vote when they need this option. :dagger: :eyes:
this feature would be very useful and good validation.
it's very interesting how can this code?
it's a nice concept of creating this kind of mask filter in your feature.
@webcat12345 how to add input mask? how can this code? tks
We can use this way. Add a mask to the input box.
@pasevin @Dviejopomata and others, please share your thoughts on this
I think this is usefull and necessary. Is there a workaround for this? Is there a way to put a mask in this component. I tried put ngx-mask, but I have failed.
It's useful and would be a great add usually this feature is a mandatory requirement by clients
It's very importing related to UX approach. This is one of the best Libraries available, but miss this important feature =(
Masking the phone number field is a better UX for sure! 👍
it's really important feature. or even better allow to bypass input for mask libraries
I think input mask it's a must but i don't really like those underlines. I think the best way it's showing the placeholder or not, and while user is writing, input should behave like this: https://jsdaddy.github.io/ngx-mask-page/main
I have implemented locally as wrapper in next input - I would say it's not so easy - because in real life ngx mask are not fit for 100%. Need to implement dynamic masking per country. Technically it could be adopted with detect country while entering but it has issue with change mask on the fly but possible
This feature can will be implemented in lib? And can export the mask config to use on view of data
One option to use in this case is ngx-mask