Skip to content

Kirby 6.0.0

$usernameField->reset()

Resets the value back to the empty value

$usernameField->reset(): UsernameField

Return type

Kirby\Panel\Form\Field\UsernameField

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

Parent class

Kirby\Panel\Form\Field\UsernameField inherited from Kirby\Form\Field\ValueField