Skip to content

fix: Fix single-select checkbox state in planning mode#1312

Open
charlesvien wants to merge 1 commit intomainfrom
03-20-fix_single-select_checkbox_state_in_planning_mode
Open

fix: Fix single-select checkbox state in planning mode#1312
charlesvien wants to merge 1 commit intomainfrom
03-20-fix_single-select_checkbox_state_in_planning_mode

Conversation

@charlesvien
Copy link
Member

@charlesvien charlesvien commented Mar 20, 2026

Problem

In single-select mode, clicking the "Other" option enters edit mode without clearing the previous selection, and typing auto-checks "Other" without clearing others so you end up with two items checked. Then you can't uncheck either because single-select toggleCheck always re-selects the clicked item.

image.png

Changes

  1. Allow unchecking a selected option in single-select mode (toggleCheck)
  2. Clear other selections when clicking a custom-input option in single-select mode (handleClick, selectCurrent)
  3. Clear other selections when auto-checking custom input on text entry in single-select mode (handleCustomInputChange)

How did you test this?

Manually

@charlesvien charlesvien changed the title Fix single-select checkbox state in planning mode fix: Fix single-select checkbox state in planning mode Mar 20, 2026
Copy link
Member Author

charlesvien commented Mar 20, 2026

@charlesvien charlesvien marked this pull request as ready for review March 21, 2026 06:11
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.

1 participant