Skip to content

Kirby 6.0.0

$structureField->reset()

Resets the value back to the empty value

$structureField->reset(): StructureField

Return type

Kirby\Form\Field\StructureField

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

Parent class

Kirby\Form\Field\StructureField inherited from Kirby\Form\Field\ValueField