You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I have some complex validation on array field details[].periods[] I have to check periods do not overlap and display the error message if they do. I can't determine which period is causing the error, so I have to set this error for the entire array field. I don't want to set _error field because it's not global form error. There is an errors object passed to my form, but it's empty all the time and it's not documented so I can't just grab the error I need and pass it as a prop. Is there any way to do so without creating a faux field just for this error?
The text was updated successfully, but these errors were encountered:
Hello. I have some complex validation on array field
details[].periods[]
I have to check periods do not overlap and display the error message if they do. I can't determine which period is causing the error, so I have to set this error for the entire array field. I don't want to set _error field because it's not global form error. There is anerrors
object passed to my form, but it's empty all the time and it's not documented so I can't just grab the error I need and pass it as a prop. Is there any way to do so without creating a faux field just for this error?The text was updated successfully, but these errors were encountered: