Skip to content

Kirby 6.0.0

$colorField->reset()

Resets the value back to the empty value

$colorField->reset(): ColorField

Return type

Kirby\Form\Field\ColorField

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

Parent class

Kirby\Form\Field\ColorField inherited from Kirby\Form\Field\ValueField