Skip to content

Kirby 6.0.0

$passwordField->reset()

Resets the value back to the empty value

$passwordField->reset(): PasswordField

Return type

Kirby\Form\Field\PasswordField

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

Parent class

Kirby\Form\Field\PasswordField inherited from Kirby\Form\Field\ValueField