RonaldJerez / vue-input-facade

A lightweight and dependency free input masking library created specific for Vue
https://ronaldjerez.github.io/vue-input-facade/latest/
183 stars 27 forks source link

Don't update value with directive when mask is not defined. #89

Open GaborTorma opened 6 months ago

GaborTorma commented 6 months ago

I would like to use your directives for a schema generadted form. In this case a v-facade directive always added to the attributes, but a lots of case it is empty. Now Update runs with empty mask and modify the value. Some special case the value is not string, but facade convert it and destroy the object.

Please check config.mask value exists also in directive, like masker

Thanx for your awsome job!