Skip to content

Kirby 6.0.0

$numberField->reset()

Resets the value back to the empty value

$numberField->reset(): NumberField

Return type

Kirby\Form\Field\NumberField

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

Parent class

Kirby\Form\Field\NumberField inherited from Kirby\Form\Field\ValueField