Skip to content

Kirby 6.0.0

$textField->reset()

Resets the value back to the empty value

$textField->reset(): TextField

Return type

Kirby\Form\Field\TextField

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

Parent class

Kirby\Form\Field\TextField inherited from Kirby\Form\Field\ValueField