diff --git a/packages/app/src/components/form.fields/drawer-select/index.tsx b/packages/app/src/components/form.fields/drawer-select/index.tsx index 65fe37477..638f96c86 100644 --- a/packages/app/src/components/form.fields/drawer-select/index.tsx +++ b/packages/app/src/components/form.fields/drawer-select/index.tsx @@ -28,7 +28,7 @@ function transform({value, multiple, labelField, valueField = 'id'}) { } function DrawerSelectComponent(props) { - const { disabled, target, multiple, filter, associatedName, labelField, valueField = 'id', value, onChange } = props; + const { disabled, target, multiple, filter, resourceName, associatedKey, labelField, valueField = 'id', value, onChange } = props; const [selectedKeys, selectedValue] = transform({value, multiple, labelField, valueField }); const [visible, setVisible] = useState(false); const [selectedRowKeys, setSelectedRowKeys] = useState(multiple ? selectedKeys : [selectedKeys]); @@ -98,7 +98,9 @@ function DrawerSelectComponent(props) { {