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
I have a large form. And the fields are divided into sections in an accordion, when submitting I get the error "an invalid form control with name="..." is not focusable." Which is generally expected
But how can I intercept the error before submitting to open a specific accordion?
I expected that I would be able to catch errors in the second argument of handleSubmit, but this did not happen. Does anyone have any suggestions? I think this has happened to someone before.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a large form. And the fields are divided into sections in an accordion, when submitting I get the error "an invalid form control with name="..." is not focusable." Which is generally expected
But how can I intercept the error before submitting to open a specific accordion?
I expected that I would be able to catch errors in the second argument of handleSubmit, but this did not happen. Does anyone have any suggestions? I think this has happened to someone before.
Beta Was this translation helpful? Give feedback.
All reactions