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

Directive v-facade clearing value from first index of repeated fields #31

Closed vicenterusso closed 3 years ago

vicenterusso commented 3 years ago

Describe the bug I'm using vue-formulate to build forms. The mask doesnt works only on the first index. If v-facade is removed, everything works

To Reproduce https://codesandbox.io/s/pybjv?file=/src/App.vue

Expected behavior v-facade directive should works on every form field

RonaldJerez commented 3 years ago

The directive attaches it self to the first input found when used in an outer container. I am not familiar with vue-formulate but looking at your code sample looks like they do some internal work to make the input “repeatable”. So I don’t think vue-input-facade is compatible with vue-formulate.