fix: assignedField can not select dynamicValue (#2000)
This commit is contained in:
parent
47838889f4
commit
83a6cae4e5
@ -172,7 +172,6 @@ export const AssignedField = (props: any) => {
|
|||||||
const userChangeHandler = (val) => {
|
const userChangeHandler = (val) => {
|
||||||
setUserValue(val);
|
setUserValue(val);
|
||||||
};
|
};
|
||||||
|
|
||||||
const useFieldMemo = useMemo(() => {
|
const useFieldMemo = useMemo(() => {
|
||||||
if (!collectionField) {
|
if (!collectionField) {
|
||||||
return <DeletedField />;
|
return <DeletedField />;
|
||||||
@ -192,7 +191,7 @@ export const AssignedField = (props: any) => {
|
|||||||
</Select>
|
</Select>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}, [collectionField, type, value, fieldType]);
|
}, [collectionField, type, value, fieldType, options]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Space>
|
<Space>
|
||||||
|
Loading…
Reference in New Issue
Block a user