Skip to content

Kirby 4.5.0

$field->data()

Returns field data

$field->data(bool $default = false): mixed|null

Parameters

Name Type Default
$default bool false

Return type

mixed|null

Parent class

Kirby\Form\Field