🐞 - maskitoPhoneOptionsGenerator allows to enter invalid Ukrainian phone number #714
Closed
6 of 9 tasks
Labels
bug
Something isn't working
Which package(s) are the source of the bug?
@maskito/core, @maskito/kit, @maskito/react
Playground Link
https://stackblitz.com/edit/stackblitz-starters-1aetx2
Description
Hi!
Very much appreciated for this library! Love it ❤️
I'm using a function
maskitoPhoneOptionsGenerator
from@masktio/phone
and having some issues with masking against Ukrainian phone numbers.A valid Ukrainian phone number includes 9 digits after
+380
country code. I'm validating phone number withlibphonenumber-js
and getting invalid results when user types 10 digits. Question is why user is able to type 10 digits?Maskito version
1.9.0
Which browsers have you used?
Which operating systems have you used?
The text was updated successfully, but these errors were encountered: