refactor: url field support text type as availableTypes (#3751)

This commit is contained in:
katherinehhh 2024-03-18 17:58:32 +08:00 committed by GitHub
parent 1660a62399
commit 2236ac5be2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ export class UrlFieldInterface extends CollectionFieldInterface {
'x-component': 'Input.URL',
},
};
availableTypes = ['string'];
availableTypes = ['string', 'text'];
schemaInitialize(schema: ISchema, { block }) {}
properties = {
...defaultProps,