mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-12 06:24:14 +00:00
When onSearchCommit is provided, the loading spinner should only appear after Enter is pressed (actual search commit), not on every keystroke. - Skip setIsLoading(true) in handleChange when onSearchCommit is present - Cancel pending debounce timer when Enter fires (prevents stale onSearchChange from firing 500ms after commit) - Sync display state via onSearchChange on Enter to keep input and committed state consistent - Fix pre-existing React.ReactNode namespace usage in data-table.tsx 6 tests passing (1 new test for debounce cancellation on Enter).