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
Pretty much title, I suspect this is because RHF is using the ref to set the value instead of using the value prop. But what is standard practice if you have a default form value that is immediately accessible but the options are fetched async?
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
-
Pretty much title, I suspect this is because RHF is using the ref to set the value instead of using the
value
prop. But what is standard practice if you have a default form value that is immediately accessible but the options are fetched async?Something like:
What is the standard practice?
Beta Was this translation helpful? Give feedback.
All reactions