mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 19:46:28 +00:00
refactor: internalSelect recordPicker
This commit is contained in:
parent
fc198621a6
commit
15cb251c4b
@ -104,6 +104,7 @@ export const InternalSelect = observer((props: any) => {
|
|||||||
onChange: props?.onChange,
|
onChange: props?.onChange,
|
||||||
selectedRows,
|
selectedRows,
|
||||||
setSelectedRows,
|
setSelectedRows,
|
||||||
|
collectionField
|
||||||
};
|
};
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (value && Object.keys(value).length > 0) {
|
if (value && Object.keys(value).length > 0) {
|
||||||
|
@ -17,7 +17,7 @@ export default extend({
|
|||||||
uiSchema: {
|
uiSchema: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
title: '{{t("Roles")}}',
|
title: '{{t("Roles")}}',
|
||||||
'x-component': 'RecordPicker',
|
'x-component': 'AssociationField',
|
||||||
'x-component-props': {
|
'x-component-props': {
|
||||||
multiple: true,
|
multiple: true,
|
||||||
fieldNames: {
|
fieldNames: {
|
||||||
|
Loading…
Reference in New Issue
Block a user