Skip to content

Kirby 6.0.0

$stringField->reset()

Resets the value back to the empty value

$stringField->reset(): StringField

Return type

Kirby\Form\Field\StringField

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

Parent class

Kirby\Form\Field\StringField inherited from Kirby\Form\Field\ValueField