Skip to content

Kirby 4.5.0

$layoutfield->placeholder()

Optional placeholder value that will be shown when the field is empty

$layoutfield->placeholder(): string|null

Return type

string|null

Parent class

Kirby\Form\Field\LayoutField inherited from Kirby\Form\FieldClass