Skip to content

Kirby 6.0.0

$roleField->reset()

Resets the value back to the empty value

$roleField->reset(): RoleField

Return type

Kirby\Panel\Form\Field\RoleField

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

Parent class

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