mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-09 15:39:24 +08:00
fix: adjust supported availableTypes for uuid, nano, and id (#5427)
This commit is contained in:
parent
aab4ba5874
commit
fadda05424
@ -31,7 +31,7 @@ export class IdFieldInterface extends CollectionFieldInterface {
|
||||
'x-read-pretty': true,
|
||||
},
|
||||
};
|
||||
availableTypes = ['bigInt', 'integer', 'string'];
|
||||
availableTypes = ['bigInt', 'integer'];
|
||||
properties = {
|
||||
'uiSchema.title': {
|
||||
type: 'string',
|
||||
|
@ -24,7 +24,7 @@ export class NanoidFieldInterface extends CollectionFieldInterface {
|
||||
'x-component': 'NanoIDInput',
|
||||
},
|
||||
};
|
||||
availableTypes = ['string', 'nanoid'];
|
||||
availableTypes = ['nanoid'];
|
||||
properties = {
|
||||
'uiSchema.title': {
|
||||
type: 'string',
|
||||
|
@ -26,7 +26,7 @@ export class UUIDFieldInterface extends CollectionFieldInterface {
|
||||
'x-validator': 'uuid',
|
||||
},
|
||||
};
|
||||
availableTypes = ['string', 'uid', 'uuid'];
|
||||
availableTypes = ['uid', 'uuid'];
|
||||
properties = {
|
||||
'uiSchema.title': {
|
||||
type: 'string',
|
||||
|
Loading…
x
Reference in New Issue
Block a user