From 1b7dc7cbe29b4a80c86e13744a8a2a2734dffd27 Mon Sep 17 00:00:00 2001 From: Holger Veltrup Date: Mon, 23 Sep 2024 13:40:57 +0200 Subject: [PATCH] docs(form-api): add group option 'hideLabel' --- docs/develop/form/layouts.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/develop/form/layouts.md b/docs/develop/form/layouts.md index b4ba8e7..af8de54 100644 --- a/docs/develop/form/layouts.md +++ b/docs/develop/form/layouts.md @@ -34,3 +34,23 @@ The form editor also provides a contact block. This is arranged below the group - ... ... ``` + +## Group + +For Group there is an additional option `hideLabel`. This can be used to specify that the label of the group should not be displayed. However, for accessibility reasons, for example, it may be useful to have the label anyway. + +```json +{ + "type": "Group", + "label": "Group", + "elements": [ + { + "type": "Control", + "scope": "#/properties/name" + } + ], + "options": { + "hideLabel": true + } +} +```