$optionsField->next()
Returns the next item in the collection if available
$optionsField->next(TCollection|null $collection = null): OptionsField|null
Parameters
| Name | Type | Default |
|---|---|---|
| $collection | TCollectionornull |
null
|
Return types
Kirby\Form\Field\OptionsFieldornull
This method does not modify the existing $optionsfield object but returns a new object with the changes applied. Learn more →
Parent class
Kirby\Form\Field\OptionsField
inherited from Kirby\Form\Field