fix: collection select no options (#2271)
This commit is contained in:
parent
d8529e1d06
commit
86749255ae
@ -100,6 +100,7 @@ export const RemoteCollectionManagerProvider = (props: any) => {
|
||||
if (uiSchema?.enum) {
|
||||
uiSchema.enum = uiSchema.enum.map((item) => ({
|
||||
...item,
|
||||
value: item?.value || item,
|
||||
label: item.rawLabel ? item.label : t(item.label),
|
||||
rawLabel: item.rawLabel || item.label,
|
||||
}));
|
||||
|
Loading…
Reference in New Issue
Block a user