From 2236ac5be2b106b42f03e66d0b1c5f8c112a1e77 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Mon, 18 Mar 2024 17:58:32 +0800 Subject: [PATCH] refactor: url field support text type as availableTypes (#3751) --- packages/core/client/src/collection-manager/interfaces/url.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/collection-manager/interfaces/url.ts b/packages/core/client/src/collection-manager/interfaces/url.ts index 10edd1601..1dc17297c 100644 --- a/packages/core/client/src/collection-manager/interfaces/url.ts +++ b/packages/core/client/src/collection-manager/interfaces/url.ts @@ -15,7 +15,7 @@ export class UrlFieldInterface extends CollectionFieldInterface { 'x-component': 'Input.URL', }, }; - availableTypes = ['string']; + availableTypes = ['string', 'text']; schemaInitialize(schema: ISchema, { block }) {} properties = { ...defaultProps,