Skip to content

Kirby 5.0.4

$fieldClass->fill()

Sets a new value for the field

$fieldClass->fill(mixed $value): Kirby\Form\FieldClass

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Form\FieldClass

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

Parent class

Kirby\Form\FieldClass