Skip to content

Kirby 6.0.0

$selectField->toFormValue()

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

$selectField->toFormValue(): mixed

Return type

mixed

Parent class

Kirby\Form\Field\SelectField inherited from Kirby\Form\Field\ValueField