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
Just noticing that the Switch primitive doesn't reset on form reset when uncontrolled. One workaround is to control the primitive, but a better one in my opinion is to use a state as a key on the primitive and to set the state to a new (random) value in an handler or an action onReset on the form.
The text was updated successfully, but these errors were encountered:
Just noticing that the Switch primitive doesn't reset on form reset when uncontrolled. One workaround is to control the primitive, but a better one in my opinion is to use a state as a key on the primitive and to set the state to a new (random) value in an handler or an action onReset on the form.
The text was updated successfully, but these errors were encountered: