You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe #3607 has caused a regression for a component I have built, but this should affect other people as well.
I have a Combobox where items are fed by an API. When you choose a value, and then search for something else, the value gets cleared (onValueChange is called with null) and onInputValueChange is called if the items do not contain selected value.
This will also fail, if you were coming back to editing a form after saving and refreshing and your data is fed by a paginated API, where your selected item might be on the last page. The value will be cleared because the selected item will not be present in items.
Screen.Recording.2026-01-22.at.1.21.14.AM.mov
This issue is not reproducible in v1.0.0.
I believe this is a valid use case and should be supported.
Bug report
Current behavior
I believe #3607 has caused a regression for a component I have built, but this should affect other people as well.
I have a
Comboboxwhereitemsare fed by an API. When you choose a value, and then search for something else, the value gets cleared (onValueChangeis called withnull) andonInputValueChangeis called if the items do not contain selected value.This will also fail, if you were coming back to editing a form after saving and refreshing and your data is fed by a paginated API, where your selected item might be on the last page. The value will be cleared because the selected item will not be present in
items.Screen.Recording.2026-01-22.at.1.21.14.AM.mov
This issue is not reproducible in v1.0.0.
I believe this is a valid use case and should be supported.
Expected behavior
The value should not be cleared.
Reproducible example
I have rebuilt this example from #2760
https://codesandbox.io/p/sandbox/gallant-meadow-x2r7d2
Base UI version
v1.1.0