Skip to content

Kirby 6.0.0

$usernameField->toFormValue()

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

$usernameField->toFormValue(): mixed

Return type

mixed

Parent class

Kirby\Panel\Form\Field\UsernameField inherited from Kirby\Form\Field\ValueField