Skip to content

Commit 3801ed1

Browse files
committed
fix: combobox set wrong limit on data status loading
1 parent 77a01ae commit 3801ed1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packages/pluggableWidgets/combobox-web/CHANGELOG.md

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

1313
- We added the option to fill an aria-label for the combobox.
1414

15+
- We fixed an issue where combobox failed to reload if user typed too fast on lazy load.
16+
1517
## [2.4.2] - 2025-06-10
1618

1719
### Fixed

packages/pluggableWidgets/combobox-web/src/helpers/LazyLoadProvider.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export class LazyLoadProvider {
1717

1818
getLimit(limit: number, readOnly: boolean, status: ValueStatus, lazyLoading: boolean): number | undefined {
1919
if (status !== "available" || readOnly === true) {
20+
if (status === "loading" && lazyLoading) {
21+
return this.limit || 1;
22+
}
2023
return 0;
2124
}
2225

0 commit comments

Comments
 (0)