Skip to content

Kirby 6.0.0

$objectField->reset()

Resets the value back to the empty value

$objectField->reset(): ObjectField

Return type

Kirby\Form\Field\ObjectField

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

Parent class

Kirby\Form\Field\ObjectField inherited from Kirby\Form\Field\ValueField