primitives icon indicating copy to clipboard operation
primitives copied to clipboard

Switch primitive doesn't reset on form reset

Open LutherTS opened this issue 1 year ago • 0 comments

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.

LutherTS avatar Oct 13 '24 10:10 LutherTS