-
Notifications
You must be signed in to change notification settings - Fork 52
Fix: Properly display removed options in selection columns - #2450
Conversation
22960ea to
d7f542a
Compare
d7f542a to
0d781c4
Compare
enjeck
commented
Apr 11, 2026
Related to #727
@enjeck
enjeck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If deleting an option is supposed to actually remove that value from rows, then the best UX in my opinion is to reflect that cleanup directly: remaining selections stay visible, deleted ones disappear. I don't like keeping a ghost value around.
0d781c4 to
4aa1855
Compare
4aa1855 to
65afdf2
Compare
@enjeck
enjeck
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some comments:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this throws an error if you:
- Open a table that has rows.
- Add a new single-selection column with no default value (or just leave any existing single-select cell empty).
- View the table in grid mode.
TypeError: Cannot read properties of null (reading 'deleted')
at VueComponent.render50 (TableCellSelection.vue:158:1)
Easy fix could be:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getLabel now returns String(id) instead of undefined for orphaned values, which changes filter behavior in isFilterFound. i suppose that for example, IsEmpty there will now treat a row holding a deleted option as non-empty? Same for Contains, BeginsWith etc
Is this intentional behavior?
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
65afdf2 to
283b6fd
Compare
Uh oh!
There was an error while loading. Please reload this page.
Reproducer
Expected result
We should see yellow triangle with exclamation mark that informs us about non-existent optipns
🖼️ Screenshoots