Skip to content

Kirby 6.0.0

$valueField->reset()

Resets the value back to the empty value

$valueField->reset(): ValueField

Return type

Kirby\Form\Field\ValueField

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

Parent class

Kirby\Form\Field\ValueField