refactor: recordPicker => associationField (#2444)

This commit is contained in:
katherinehhh 2023-08-14 09:26:27 +08:00 committed by GitHub
parent caad07e11e
commit 8b75738c90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ const getDefaultCollectionFields = (values) => {
uiSchema: {
type: 'object',
title: '{{t("Created by")}}',
'x-component': 'RecordPicker',
'x-component': 'AssociationField',
'x-component-props': {
fieldNames: {
value: 'id',
@ -178,7 +178,7 @@ const getDefaultCollectionFields = (values) => {
uiSchema: {
type: 'object',
title: '{{t("Last updated by")}}',
'x-component': 'RecordPicker',
'x-component': 'AssociationField',
'x-component-props': {
fieldNames: {
value: 'id',