Replies: 2 comments
-
Ended up having to go with const form = useForm({
// etc
});
const {value: myField, meta: myFieldMeta} = useField('myField', undefined, {form}); Is this the recommended approach? |
Beta Was this translation helpful? Give feedback.
0 replies
-
So now the issue is that I don't have access to the I want to disable this because I have an async validator which I'd like to debounce... otherwise it's triggering on every key input. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've seen you get the field
meta
when usinguseField
with:But how do you access this
meta
property when usingdefineField
?Copilot insists that you can do this but it's not working:
I'm defining the validator in a store and I want to be able to access
meta.pending
to show a spinner when an async validation is pending.Thanks!
Beta Was this translation helpful? Give feedback.
All reactions