Skip to content

Kirby 6.0.0

$templateField->reset()

Resets the value back to the empty value

$templateField->reset(): TemplateField

Return type

Kirby\Panel\Form\Field\TemplateField

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

Parent class

Kirby\Panel\Form\Field\TemplateField inherited from Kirby\Form\Field\ValueField