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
Is there a way to set the error state of a text field. Right now I am using react-hook-form and then I will use setError which will change the field error, but it does not trigger the validate for a text field, so the error never shows. Is there something like isError on the textField which will then show the validation error message.
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
-
Hello,
Is there a way to set the error state of a text field. Right now I am using react-hook-form and then I will use setError which will change the field error, but it does not trigger the validate for a text field, so the error never shows. Is there something like isError on the textField which will then show the validation error message.
Beta Was this translation helpful? Give feedback.
All reactions