feature/feature/IO-3554-Form-Row-Layout - Fix search, bump deps, fix formlayout

This commit is contained in:
Dave
2026-02-25 15:31:42 -05:00
parent 15bb1e72a2
commit dab66b4d66
2 changed files with 7 additions and 3 deletions

View File

@@ -199,9 +199,13 @@ export default function GlobalSearchOs() {
enterButton
allowClear
loading={loading}
onSearch={handleSearch}
onChange={(e) => {
if (!e.target.value) setData([]);
const value = e.target.value;
if (!value) {
setData([]);
} else {
handleSearch(value);
}
}}
/>
</AutoComplete>

View File

@@ -175,7 +175,7 @@ export default function GlobalSearch() {
enterButton
allowClear
loading={loading}
onSearch={handleSearch}
onChange={(e) => handleSearch(e.target.value)}
/>
</AutoComplete>
);