[Issue][<PhoneInput>] Clearing v-model doesn't clear input
patsok opened this issue · 1 comments
patsok commented
Describe the bug
Clearing v-model doesn't clear input - it only updates when v-model is valid number, so when I'm clearing v-model with undefined or empty string or null its value inside isn't cleared.
To Reproduce
Steps to reproduce the behavior:
- Set v-model to valid number
- Set v-model to undefined/null/empty string
Expected behavior
Input with country and phone number should be empty as on initial state.
Screenshots
in Vue Dev Tools you can see modelValue null on MazPhoneNumberInput
on PhoneInput component it has value before clearing
Desktop (please complete the following information)
- OS: Linux/Ubuntu
- Browser Chrome
- Version 123.0.6312.122
LouisMazel commented
Solved in v3.44.0