Skip to content

Kirby 6.0.0

$stringField->toFormValue()

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

$stringField->toFormValue(): mixed

Return type

mixed

Parent class

Kirby\Form\Field\StringField inherited from Kirby\Form\Field\ValueField