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
Question / Bug
Is the isMobilePhone function intended to only validate mobile phone numbers or should it actually also be possible for landlines? If yes, I would rewrite this as a bug, since some german landline numbers would not validate.
Examples
+4935178686876
Suggestion
Phone validation is in general a well discussed topic and really hard to do. Covering all countries and edge cases would also increase the package size a lot. It might be good, for the sake of this module, to completely outsource it to external packages like awesome-phonenumber. Tree shaking should do the rest.
The text was updated successfully, but these errors were encountered:
Question / Bug
Is the
isMobilePhone
function intended to only validate mobile phone numbers or should it actually also be possible for landlines? If yes, I would rewrite this as a bug, since some german landline numbers would not validate.Examples
+4935178686876
Suggestion
awesome-phonenumber
. Tree shaking should do the rest.The text was updated successfully, but these errors were encountered: