Skip to content
Source
Sign inSign up
TanStack/form
Open History to see the last commit

FieldInfo.vue

12 lines320 Bytes

1<script setup lang="ts">
2import { FieldApi } from '@tanstack/vue-form'
3​
4const props = defineProps<{
5 state: FieldApi<any, any, any, any>['state']
6}>()
7</script>
8​
9<template>
10 <em v-for="error of props.state.meta.touchedErrors">{{ error }}</em>
11 {{ props.state.meta.isValidating ? 'Validating...' : null }}
12</template>