vue-verify icon indicating copy to clipboard operation
vue-verify copied to clipboard

how to validated to an array

Open shireen22 opened this issue 9 years ago • 1 comments

my code

shireen22 avatar Sep 06 '16 11:09 shireen22

Can't do it directly.

you can specify a child component.

<div v-for="el in array">
    <child-component :el.sync="el"></child-component>
</div>

And then,validate element in child component.

created:function(){
    this.$verify({
        el : {...}
    })
}

PeakTai avatar Sep 07 '16 13:09 PeakTai