From 1b80930065f8667cb4a8894c3466b3b22aee9f67 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Fri, 15 Sep 2023 11:33:59 +0800 Subject: [PATCH] refactor: view collection float type field supports number and percent (#2653) --- .../core/client/src/collection-manager/interfaces/number.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/client/src/collection-manager/interfaces/number.ts b/packages/core/client/src/collection-manager/interfaces/number.ts index 9b6d45574..cfa409f6b 100644 --- a/packages/core/client/src/collection-manager/interfaces/number.ts +++ b/packages/core/client/src/collection-manager/interfaces/number.ts @@ -22,7 +22,7 @@ export const number: IField = { }, }, }, - availableTypes: ['double'], + availableTypes: ['double', 'float'], hasDefaultValue: true, properties: { ...defaultProps,