Skip to content

Kirby 6.0.0

$valueField->fill()

Sets a new value for the field

$valueField->fill(mixed $value): ValueField

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Form\Field\ValueField

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

Parent class

Kirby\Form\Field\ValueField