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
{{ message }}
Repository navigation
Commit 4180031
Browse filesBrowse the repository at this point in the historyBrowse files
fix(element): control CheckboxList/RadioList so selections mirror stored state
Port the uncontrolled->controlled fix from main (the fsgui epoch-accumulation
class) to the modern branch. CheckboxList is active in v3 via ChannelMap's
bad-channels; RadioList is used by the legacy form. Adds a canonical `value`
prop, switches to checked/onChange, and fixes CheckboxList's memo comparison.
Behavior note: a controlled radio fires onChange only on an actual change, so
clicking the already-selected option is now a no-op (previously onClick re-fired
redundantly); the affected test was updated to assert the new behavior.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments