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