$field->fill()
Sets a new value for the field
$field->fill(mixed $value): Kirby\Form\Field
Parameters
| Name | Type | Default |
|---|---|---|
| $valuerequired | mixed |
no default value |
Return type
This method does not modify the existing $field object but returns a new object with the changes applied. Learn more →