Skip to content

Feature/elelog 683 timelesscategoryselect swallows deselection#2609

Open
gularsson wants to merge 2 commits into
mainfrom
feature/elelog-683-timelesscategoryselect-swallows-deselection
Open

Feature/elelog 683 timelesscategoryselect swallows deselection#2609
gularsson wants to merge 2 commits into
mainfrom
feature/elelog-683-timelesscategoryselect-swallows-deselection

Conversation

@gularsson
Copy link
Copy Markdown
Contributor

No description provided.

gularsson added 2 commits May 19, 2026 13:12
The wrapper guarded against falsy values before calling onChange, so the
ComboBox's deselect signal (an undefined emit when an already-selected
option is clicked) was dropped. The parent retained stale state and the
dialog's primary stayed enabled.

Widen the contract to (Block | undefined) and forward all values. Both
existing callers (ConvertToTimelessDialog, CreateDeliverablePrompt)
already type their state as Block | undefined, so they pick up the
deselect cleanly.
@gularsson gularsson self-assigned this May 19, 2026
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