Skip to content

Kirby 5.0.4

$value->fill()

Sets a new value for the field

$value->fill(mixed $value): Kirby\Form\Mixin\Value

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Form\Mixin\Value

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

Parent class

Kirby\Form\Mixin\Value