fix: select clear not working
This commit is contained in:
parent
7bffc94b80
commit
1d2c4f6188
@ -80,6 +80,9 @@ export const Select = connect(
|
||||
}
|
||||
allowClear
|
||||
{...others}
|
||||
onChange={(changed) => {
|
||||
props.onChange(changed === undefined ? null : changed);
|
||||
}}
|
||||
value={others.value || undefined}
|
||||
/>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user