mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix: enable multi-select not working (#6661)
This commit is contained in:
parent
1af62daf9f
commit
9a0c644650
@ -94,7 +94,11 @@ export const FilterCollectionFieldInternalField: React.FC = (props: Props) => {
|
|||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
field.dataSource = uiSchema.enum;
|
field.dataSource = uiSchema.enum;
|
||||||
const originalProps =
|
const originalProps =
|
||||||
compile({ ...(operator?.schema?.['x-component-props'] || {}), ...(uiSchema['x-component-props'] || {}) }) || {};
|
compile({
|
||||||
|
...(operator?.schema?.['x-component-props'] || {}),
|
||||||
|
...(uiSchema['x-component-props'] || {}),
|
||||||
|
...(fieldSchema?.['x-component-props'] || {}),
|
||||||
|
}) || {};
|
||||||
|
|
||||||
field.componentProps = merge(field.componentProps || {}, originalProps, dynamicProps || {});
|
field.componentProps = merge(field.componentProps || {}, originalProps, dynamicProps || {});
|
||||||
}, [uiSchemaOrigin]);
|
}, [uiSchemaOrigin]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user