Allow clear search input
This commit is contained in:
parent
230f939c8b
commit
8623aaadbc
|
@ -165,6 +165,7 @@ const Hub = () => {
|
||||||
style={{ marginBottom: 10, height: 40 }}
|
style={{ marginBottom: 10, height: 40 }}
|
||||||
placeholder="Search..."
|
placeholder="Search..."
|
||||||
onChange={({ target }) => debounceLoadData(target.value)}
|
onChange={({ target }) => debounceLoadData(target.value)}
|
||||||
|
allowClear
|
||||||
/>
|
/>
|
||||||
<Table
|
<Table
|
||||||
dataSource={dataSource}
|
dataSource={dataSource}
|
||||||
|
|
Loading…
Reference in New Issue