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