mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 19:05:51 +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,
|
||||
selectedRows,
|
||||
setSelectedRows,
|
||||
collectionField
|
||||
};
|
||||
useEffect(() => {
|
||||
if (value && Object.keys(value).length > 0) {
|
||||
|
@ -17,7 +17,7 @@ export default extend({
|
||||
uiSchema: {
|
||||
type: 'array',
|
||||
title: '{{t("Roles")}}',
|
||||
'x-component': 'RecordPicker',
|
||||
'x-component': 'AssociationField',
|
||||
'x-component-props': {
|
||||
multiple: true,
|
||||
fieldNames: {
|
||||
|
Loading…
Reference in New Issue
Block a user