feat(FormGroup): add eager validation (#992)

This commit is contained in:
Conner Blanton
2023-11-21 16:24:15 -06:00
committed by GitHub
parent 9df9b9a2df
commit d39e2de935
6 changed files with 38 additions and 2 deletions

View File

@@ -94,6 +94,10 @@ export default defineComponent({
ui: {
type: Object as PropType<Partial<typeof config & { strategy?: Strategy }>>,
default: undefined
},
eagerValidation: {
type: Boolean,
default: false
}
},
setup (props) {
@@ -114,7 +118,8 @@ export default defineComponent({
error,
inputId,
name: computed(() => props.name),
size: computed(() => props.size)
size: computed(() => props.size),
eagerValidation: computed(() => props.eagerValidation)
})
return {