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