Skip to content

Kirby 6.0.0

$urlField->reset()

Resets the value back to the empty value

$urlField->reset(): UrlField

Return type

Kirby\Form\Field\UrlField

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

Parent class

Kirby\Form\Field\UrlField inherited from Kirby\Form\Field\ValueField