$toggleField->reset()
Resets the value back to the empty value
$toggleField->reset(): ToggleField
Return type
This method does not modify the existing $togglefield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Field\ToggleField
inherited from Kirby\Form\Field\ValueField