mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-04 05:08:42 +08:00
fix: select null value (#1961)
This commit is contained in:
parent
261ca0dbbb
commit
98be397574
@ -86,7 +86,7 @@ const InternalSelect = connect(
|
||||
allowClear
|
||||
dropdownMatchSelectWidth={false}
|
||||
notFoundContent={loading ? <Spin /> : <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />}
|
||||
value={value}
|
||||
value={value?value:undefined}
|
||||
{...others}
|
||||
onChange={(changed) => {
|
||||
props.onChange?.(changed === undefined ? null : changed);
|
||||
|
Loading…
Reference in New Issue
Block a user