Manage Active field & error handling
Hello, quick question, how can i manage the error appearing only if the user making the field not active anymore ? is there a builtin functionnaly to manage that or i have to make it work by myself ? thanks 🙂
2 Replies
ratty-blushOP•6mo ago
I just found out , i can use onBlur={() => field.handleBlur()} along with onBlurAsync: ({ value }) => {
But if there is a better way, don't hesitate to tell me ! 🙂
sunny-green•6mo ago
You can check if it was blurred (
isBlurred
) and only render the error then