MCPcopy Create free account
hub / github.com/bytebase/bytebase / handleSearchChange

Function handleSearchChange

frontend/src/react/components/ExprEditor.tsx:326–330  ·  view source on GitHub ↗
(q: string)

Source from the content-addressed store, hash-verified

324 };
325
326 const handleSearchChange = (q: string) => {
327 setSearch(q);
328 if (debounceRef.current) clearTimeout(debounceRef.current);
329 debounceRef.current = setTimeout(() => doSearch(q), 300);
330 };
331
332 const handleSelect = (v: string) => {
333 onChange(v);

Callers 3

SearchableSelectFunction · 0.85
MultiSearchableSelectFunction · 0.85
AsideTreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected