Skip to content

Fix controlled / uncontrolled state usage in components - #4206

Merged
Jason Morse (JasonVMo) merged 4 commits into
mainfrom
user/jasonvmo/controlled-states
Aug 20, 2026
Merged

Fix controlled / uncontrolled state usage in components#4206
Jason Morse (JasonVMo) merged 4 commits into
mainfrom
user/jasonvmo/controlled-states

Conversation

@JasonVMo

Copy link
Copy Markdown
Contributor

Platforms Impacted

  • iOS
  • macOS
  • win32 (Office)
  • windows
  • android

Description of changes

Most of the components were using a controlled pattern for state changes. As a result many of them were not interactive without conecting a handler for on-click that would chang the component state. In general this is fine for components that are part of a group which acts as a manager, but when the component is meant to be used as a standalone component this is problematic.

This standardizes and codefies the selection/checked patterns for components. It also fixes a few bugs and updates instructions for how to avoid those issues in the future.

@JasonVMo
Jason Morse (JasonVMo) enabled auto-merge (squash) August 19, 2026 23:45
@JasonVMo
Jason Morse (JasonVMo) merged commit 5bc9e81 into main Aug 20, 2026
13 checks passed
@JasonVMo
Jason Morse (JasonVMo) deleted the user/jasonvmo/controlled-states branch August 21, 2026 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants