Focus on error on custom select with hidden input? #326
Answered
by
airjp73
christian-reichart
asked this question in
Q&A
-
Hi guys, I have the following issue: I have a special built select field that works with a span and a hidden input. Now when this field has an error the auto focus doesn't work. Do you have any idea how I could get this to work? I'm working with Reach Listbox |
Beta Was this translation helpful? Give feedback.
Answered by
airjp73
Sep 21, 2023
Replies: 1 comment 1 reply
-
https://www.remix-validated-form.io/reference/use-field#handleReceiveFocus |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
christian-reichart
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
useField
has ahandleReceiveFocus
option specifically for this type of case.https://www.remix-validated-form.io/reference/use-field#handleReceiveFocus