Document collapsible sections of service fields (#2232)

This commit is contained in:
Erik Montnemery 2024-06-25 20:00:58 +02:00 committed by GitHub
parent b47e610989
commit cd5a25261b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -118,6 +118,19 @@ set_speed:
- "low"
- "medium"
- "high"
# Fields can be grouped in collapsible sections, this is useful to initially hide
# advanced fields. Note that the collapsible section only affect presentation to the
# user, service data will not be nested.
advanced_fields:
# Whether or not the section is initially collapsed (default = false)
collapsed: true
# Input fields in this section
fields:
speed_pct:
selector:
number:
min: 0
max: 100
```
:::info