Skip to content

Commit

Permalink
Fixes #38141 - Hide search submit button when not submittable
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga committed Jan 16, 2025
1 parent 820308f commit a1af27d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const SearchBar = ({
}
onSearchChange={_onSearchChange}
value={search}
onSearch={_onSearch}
onSearch={onSearch && _onSearch}
disabled={disabled}
error={error}
name={name}
Expand Down

0 comments on commit a1af27d

Please sign in to comment.