Skip to content

Kirby 6.0.0

$selectField->reset()

Resets the value back to the empty value

$selectField->reset(): SelectField

Return type

Kirby\Form\Field\SelectField

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

Parent class

Kirby\Form\Field\SelectField inherited from Kirby\Form\Field\ValueField