Skip to content

Kirby 6.0.0

$timeField->reset()

Resets the value back to the empty value

$timeField->reset(): TimeField

Return type

Kirby\Form\Field\TimeField

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

Parent class

Kirby\Form\Field\TimeField inherited from Kirby\Form\Field\ValueField