Skip to content

Kirby 6.0.0

$dateTimeField->reset()

Resets the value back to the empty value

$dateTimeField->reset(): DateTimeField

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 inherited from Kirby\Form\Field\ValueField