Skip to content

Kirby 6.0.0

$textField->fill()

$textField->fill(mixed $value): TextField

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Form\Field\TextField

This method does not modify the existing $textfield object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Form\Field\TextField