Add an array validator
Closed this issue · 0 comments
doug-wade commented
import { array } from '@tybalt/validator';
export default defineComponent({
name: 't-for',
props: {
iterator: {
validator: compose(required(), array()),
},
}
});