...
Code Block | ||
---|---|---|
| ||
- label: 'Creator'
key: 'creator'
type: 'string'
hideIfEmpty: true
showInTableHeader: true
showInDetailList: true |
...
Code Block | ||
---|---|---|
| ||
- label: 'Description' key: 'desc' type: 'string' showInTableHeader: false showInDetailList: true options: newline: preserve |
Hide fields if they are empty
You can define, if a field should be hidden in the detail view, if the value is empty.
In this example, the Creator field is hidden, if it is empty:
Code Block | ||
---|---|---|
| ||
- label: 'Creator'
key: 'creator'
type: 'string'
hideIfEmpty: true
showInTableHeader: true
showInDetailList: true |
By default, the field is shown even though, the value is empty.
Pill
type: pill
The pill lets you color highlight specific values (e.g. “To-Do” is blue, “In Progress” is yellow, “Done” is green). The pill can be either used inside the list and inside the detail view.
...