🆕 New features
You can now query fields meta state using isFieldTouched
, isFieldDirty
, and isFieldValid
helpers on useForm
.
const { isFieldDirty } = useForm();
isFieldDirty('myField') // true or false
// or compose it to be reactive:
const isFieldDirty = computed(() => isFieldDirty('myField'));