Skip to content

Kirby 6.0.0

$listField->reset()

Resets the value back to the empty value

$listField->reset(): ListField

Return type

Kirby\Form\Field\ListField

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

Parent class

Kirby\Form\Field\ListField inherited from Kirby\Form\Field\ValueField