$layoutfield->value()
Returns the value of the field if saveable otherwise it returns null
$layoutfield->value(bool $default = false): mixed
Parameters
Name | Type | Default |
---|---|---|
$default | bool |
false |
Return type
mixed
Parent class
Kirby\Form\Field\LayoutField
inherited from Kirby\Form\FieldClass