Skip to content

Kirby 6.0.0

$optionField->toFormValue()

Returns the value of the field in a format to be used in forms (e.g. used as data for Panel Vue components)

$optionField->toFormValue(): mixed

Return type

mixed

Parent class

Kirby\Form\Field\OptionField inherited from Kirby\Form\Field\ValueField