Skip to content

Kirby 6.0.0

$optionsField->reset()

Resets the value back to the empty value

$optionsField->reset(): OptionsField

Return type

Kirby\Form\Field\OptionsField

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

Parent class

Kirby\Form\Field\OptionsField inherited from Kirby\Form\Field\ValueField