Here’s another plugin no one asked for
This allows you to do stuff like this:
fields:
mycheckboxes:
label: Users
type: controlledcheckboxes
controller: MyPlugin::userlist
instead of:
fields:
mycheckboxes:
label: Users
type: checkboxes
options:
user: John Doe
benutzer: Max Mustermann
utente: Pinco Pallino
#todo: please keep this list updated
where MyPlugin::userlist
is a function you defined that returns the options to use in your checkboxes
field.