LouisMazel / maz-ui

Vue & Nuxt library of standalone components & tools to build interfaces

Home Page:https://maz-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Issue][MazPhoneNumberInput] Can't reset the component

jlswanson28694 opened this issue · comments

Great component, but I can't seem to reset the input after the user enters their number. I have the MazPhoneNumberInput v-modeled to a ref phoneNumber, which works as expected until I want to clear it. I've tried setting phoneNumber to an empty string, null, and undefined, but the component continues to display the text from whatever value was entered before I clear it out.

Hi @jlswanson28694,

Thanks for your feedback. I just released a new version v3.31.6 to fix the reactivity of this model.

Enjoy :)