mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 09:17:23 +00:00
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) => {
|
||||
setUserValue(val);
|
||||
};
|
||||
|
||||
const useFieldMemo = useMemo(() => {
|
||||
if (!collectionField) {
|
||||
return <DeletedField />;
|
||||
@ -192,7 +191,7 @@ export const AssignedField = (props: any) => {
|
||||
</Select>
|
||||
);
|
||||
}
|
||||
}, [collectionField, type, value, fieldType]);
|
||||
}, [collectionField, type, value, fieldType, options]);
|
||||
|
||||
return (
|
||||
<Space>
|
||||
|
Loading…
Reference in New Issue
Block a user