You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this allow only Mobile, when i use PhoneNumberType::FIXED_LINE_OR_MOBILE, it not working as we expect.
Ex:
(Mobile) +962797986466 => not valid ==> type = 1
(Landline) +96265403949 => not valid ==> type = 0
so any solution to validate phone if it is Moblie Or Landline?
Thanks,
The text was updated successfully, but these errors were encountered:
Dear, i use this code to validation:
[['phone'], PhoneInputValidator::className(), 'type' => PhoneNumberType::MOBILE]
this allow only Mobile, when i use PhoneNumberType::FIXED_LINE_OR_MOBILE, it not working as we expect.
Ex:
(Mobile) +962797986466 => not valid ==> type = 1
(Landline) +96265403949 => not valid ==> type = 0
so any solution to validate phone if it is Moblie Or Landline?
Thanks,
The text was updated successfully, but these errors were encountered: