$form->passthrough()
Adds values to the passthrough array which will be added to the form data if the field does not exist
$form->passthrough(array|null $values = null): Kirby\Form\Form|array
Parameters
| Name | Type | Default |
|---|---|---|
| $values | arrayornull |
null
|
Return types
Kirby\Form\Formorarray
This method does not modify the existing $form object but returns a new object with the changes applied. Learn more →