Model relation
A special field for grouping model link inputs is designed to handle situations where the main model in your application has a one-to-many relationship with other models, typically represented by a hasMany
relationship. This field is particularly useful for managing related records and selecting multiple linked records within a single form.
$form->model_relation('basket')->template(
...
)
Last modified: 05 May 2024