Skip to content

Kirby 6.0.0

$selectField->options()

Returns the resolved options; models that the current user must not list only show up as placeholders for the field's values

$selectField->options(): list>

Return type

list<array<string, mixed>>

Parent class

Kirby\Form\Field\SelectField inherited from Kirby\Form\Field\OptionField