Closed pointhalo closed 2 years ago
onClear
onSearch
<Select filter showClear onSearch={(value) => console.log(value)} style={{ width: 180 }} placeholder='带搜索功能的单选'> <Select.Option value='abc'>抖音</Select.Option> <Select.Option value='hotsoon'>火山</Select.Option> <Select.Option value='jianying'>剪映</Select.Option> <Select.Option value='xigua'>西瓜视频</Select.Option> </Select>
fix 2.13.0-beta.0
Which Component
semi-ui version
Expected result
onClear
&onSearch
(Cause input value has auto reset)onSearch
Actual result
Reproducible code