Skip to content

Commit 6d5aa17

Browse files
authored
[WC-3314] Combobox: mitigate issue with empty string to executeAction() (#2305)
2 parents 9108958 + ab5f162 commit 6d5aa17

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

packages/pluggableWidgets/combobox-web/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
1010

1111
- We fixed an issue where the combobox collapsed to 1px width when placed inside a flex row container with `align-items: center`.
1212

13+
- We fixed an issue where the widget crashed when using the "On filter input change" action with the new string behavior enabled.
14+
1315
## [2.8.1] - 2026-04-30
1416

1517
### Fixed

packages/pluggableWidgets/combobox-web/src/hooks/useGetSelector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function onInputValueChange(
1313
}
1414
if (onChangeFilterInputEvent.canExecute && !onChangeFilterInputEvent.isExecuting) {
1515
onChangeFilterInputEvent.execute({
16-
filterInput: filterValue
16+
filterInput: filterValue || undefined
1717
});
1818
}
1919
}

0 commit comments

Comments
 (0)