-
-
Notifications
You must be signed in to change notification settings - Fork 357
Open
Description
Looking at this error stack trace, the vue3-tel-input library when the third digit of a phone number is 0. The errors show that the library is trying to call string methods (toUpperCase, toLowerCase) and DOM methods (setCustomValidity) on null values.
Here are the specific issues.
Root Cause
When the third digit is 0, the country detection logic in vue3-tel-input fails to find a matching country and returns null. The code then tries to call methods on these null values, causing the crashes.
Metadata
Metadata
Assignees
Labels
No labels