Skip to content

fix: synchronize table radios after value assignment - #286

Open
umrndem wants to merge 1 commit into
observablehq:mainfrom
umrndem:fix/table-radio-value
Open

umrndem wants to merge 1 commit into
observablehq:mainfrom
umrndem:fix/table-radio-value

Conversation

@umrndem

@umrndem umrndem commented Nov 16, 2026

Copy link
Copy Markdown

Updates the table's radio selection and header control when .value is assigned. Selecting another row, clearing the value or assigning an unknown row now keeps the displayed selection consistent with the returned value.

Uses the existing select/unselect helpers and preserves nonselectable tables and assignment without input events.

Fixes #217.

Validation: all 208 tests pass, with three existing skips. Four regression cases fail before the fix. Lint and package/CSS builds pass, and the built bundle passes Chromium checks for selection, clearing and subsequent native interaction.

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.

Table UI does not update when setting value programmatically while multiple=false

1 participant