Skip to content

Kirby 6.0.0

$dateTimeField->fill()

$dateTimeField->fill(mixed $value): DateTimeField

Parameters

Name Type Default
$valuerequired mixed no default value

Return type

Kirby\Form\Field\DateTimeField

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

Parent class

Kirby\Form\Field\DateTimeField