π - Phone
should accept incomplete phone number of selected country (even with strict=true
)
#1894
Labels
bug
Something isn't working
P2
This issue has medium priority
scope: phone
Related to @maskito/phone
Which package(s) are the source of the bug?
@maskito/phone
Description
strict=false β
Textfield contains
+7 123
strict=true β
Textfield still contains only
+7
.Expected: textfield contains
+7 123
Why ?
strict=true
is only about attempts to enter phone number of another country (see[countryIsoCode]
property).Paste of incomplete phone number (with
+
&countryPrefix
) of selected country should be accepted.Pay attentionβ οΈ
Textfield contains
+7
=> Paste+7123
=> Textfield contains+7 123
Textfield contains
+7
=> Paste7123
(incomplete phone number without+
) => Textfield contains+7 7123
Maskito version
3.2.0
The text was updated successfully, but these errors were encountered: