Skip to content

Commit

Permalink
docs(form-api): add group option 'hideLabel'
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Sep 23, 2024
1 parent 424f343 commit 1b7dc7c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions docs/develop/form/layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
```

0 comments on commit 1b7dc7c

Please sign in to comment.