{label-options}
Plugin: Scaffolding Plugin, from version 2.7-dr9
Creates a list of labels to attach to the current page.
Description
Must be contained inside a list-data macro.
Usage
Parameters
| Name |
Required |
Default |
Description |
| (default)/name | | | The list of labels which are available to select. Not that there are rules about what makes a valid label, and this will check that the options provided match Confluence's rules. |
Notes
Currently the 'Labels' editing section on the Scaffold edit page conflicts with this macro. The upshot is that you can add labels to a page with this macro, but they won't be removed again automatically if you select a different label.
See Also
Just noticed that {label-options:...} doesn't work together with the |blank=true option of {list-data}. So if the "blank"-label is choosed, always the first label in the list will be set instead of none.
That's really confusing for users if you have more than one label-selection field and they want to choose only a label in the first selection field. At this time they have to choose the same label twice.
(we have long lists, so we can't move to a checklist, because it gets unclear)
Created an issue here
Btw. there is no Component {label-options}.
Thanks for creating the issue report Christian. I've scheduled it to be looked at for the next version and added some comments/questions for clarification.
Hi,
just noticed that {label-options} doesn't work anymore in Confluence 2.9.2 with Scaffold version 3.1.0.
Cause we have many templates using it, this version isn't usable for us.
hmm haven't seen that there's already an issue for it.