Skip to content

Commit

Permalink
fix(queryitem): change Input.Search to Input in Cascader's popover to…
Browse files Browse the repository at this point in the history
… prevent preact type error
  • Loading branch information
ZoeAstra committed May 8, 2024
1 parent ced4994 commit 80b1469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/data-entry/QueryItem/Cascader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const Cascader = (props: ICascaderProps) => {
},
dropdownRender: menu => (
<div className={'query-item__dropdown'}>
<Input.Search allowClear className={'query-item__input-search'} placeholder="Search" onChange={onSearch} />
<Input allowClear className={'query-item__input-search'} placeholder="Search" onChange={(a) => onSearch(a)} />
<Flex justify="center">{menu}</Flex>
</div>
),
Expand Down

0 comments on commit 80b1469

Please sign in to comment.