diff --git a/packages/core/client/src/schema-component/antd/select/Select.tsx b/packages/core/client/src/schema-component/antd/select/Select.tsx index 75aa2fa94..a3e11795e 100644 --- a/packages/core/client/src/schema-component/antd/select/Select.tsx +++ b/packages/core/client/src/schema-component/antd/select/Select.tsx @@ -80,6 +80,9 @@ export const Select = connect( } allowClear {...others} + onChange={(changed) => { + props.onChange(changed === undefined ? null : changed); + }} value={others.value || undefined} /> );