International Telephone Input with Vue
**Version:** [email protected] When a valid phone number is entered into the input field and then cleared (model becomes an empty string ''), the field remains invalid and displays an error message indicating an incorrect phone format. This prevents the form from being submitted. Example: https://stackblitz.com/edit/vitejs-vite-7kjtqm?file=src%2FApp.vue I found this temporary solution to make the form work: ``` const phoneInput = ref(null); watch(phone, (value) => { if (!value) { phoneInput.value.phoneObject.valid = true; } }); <vue-tel-input v-model="phone" ref="phoneInput" ></vue-tel-input> ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by YourKey and has received 0 comments.