-
-
Notifications
You must be signed in to change notification settings - Fork 530
Closed
Description
Add a isBlurred state check so a field can be validated onChange after it has been blurred once.
Usage example once it is implemented:
validators={{
onChange: ({ value, fieldApi }) => {
if (fieldApi.form.getFieldMeta("firstName")?.isBlurred) {
// validation code goes here
}
return undefined;
},
}}
Idea came up in Discord: https://discord.com/channels/719702312431386674/1263506167901065246
Metadata
Metadata
Assignees
Labels
No labels