From a4ccdf3a15933f8a164e73a7f6598d9e81c5a673 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 7 Nov 2024 16:33:54 +0000 Subject: [PATCH] Enable standalone mode for number fields --- packages/client/manifest.json | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/packages/client/manifest.json b/packages/client/manifest.json index bf7cd78ad9..6ee93aae51 100644 --- a/packages/client/manifest.json +++ b/packages/client/manifest.json @@ -3240,7 +3240,6 @@ "name": "Number Field", "icon": "123", "styles": ["size"], - "requiredAncestors": ["form"], "editable": true, "size": { "width": 400, @@ -3250,8 +3249,7 @@ { "type": "field/number", "label": "Field", - "key": "field", - "required": true + "key": "field" }, { "type": "text", @@ -3336,7 +3334,17 @@ } ] } - ] + ], + "context": { + "type": "static", + "values": [ + { + "label": "Value", + "key": "value", + "type": "number" + } + ] + } }, "bigintfield": { "name": "BigInt Field",