Skip to content

Kirby 6.0.0

$filePickerField->reset()

Resets the value back to the empty value

$filePickerField->reset(): FilePickerField

Return type

Kirby\Form\Field\FilePickerField

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

Parent class

Kirby\Form\Field\FilePickerField inherited from Kirby\Form\Field\ValueField