Skip to content

Commit 2de394e

Browse files
committed
fix: Clear text box when clearing filters
https://harperdb.atlassian.net/browse/STUDIO-587
1 parent 8da19ad commit 2de394e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/features/clusters/ClustersList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export function ClustersList() {
5050
<Input
5151
placeholder="Filter by name"
5252
className="inline-block w-48 md:w-64 bg-black border"
53+
value={filterByNameValue}
5354
onChange={onFilterByNameChanged}
5455
/>
5556

src/features/organizations/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export function OrganizationsIndex() {
9191
<Input
9292
placeholder="Filter by name"
9393
className="inline-block w-48 md:w-64 bg-black border"
94+
value={filterByNameValue}
9495
onChange={onFilterByNameChanged}
9596
/>
9697
<Link to="/new-org">

0 commit comments

Comments
 (0)