Skip to content

Kirby 6.0.0

$dateField->reset()

Resets the value back to the empty value

$dateField->reset(): DateField

Return type

Kirby\Form\Field\DateField

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

Parent class

Kirby\Form\Field\DateField inherited from Kirby\Form\Field\ValueField