Skip to content

Commit

Permalink
fix(Select): delete all inputvalue
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Apr 12, 2022
1 parent 6a1d560 commit 267988d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/select/base/Select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ const Select = forwardRefWithStatics(

// 处理输入框逻辑
const handleInputChange = (value: string) => {
if (selectedLabel === value) return;
onInputChange(value);
if (selectedLabel === value) return;

if (isFunction(onSearch)) {
onSearch(value);
Expand Down

0 comments on commit 267988d

Please sign in to comment.