Skip to content

Kirby 4.5.0

$fieldclass->placeholder()

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

$fieldclass->placeholder(): string|null

Return type

string|null

Parent class

Kirby\Form\FieldClass