Closed badrshs closed 1 week ago
Thanks for reaching out @badrshs 🙏
A couple of misunderstanding here:
For further assistance setting things up, please reach out to our support via the Nova website.
As this repo is dedicated for discussing bugs or feature request/improments.
Environment
Issue Description
I'm developing an education course website using Laravel Nova. I'm trying to implement a feature in my
CourseSession
resource that allows an admin to assign multiple beneficiaries (students) to a session at once. However, the current implementation is not working as expected on any view.Current Behavior
Expected Behavior
On views (create, and edit):
beneficiary_session
pivot table, one for each selected beneficiary.Current Database Structure
course_sessions
tablebeneficiaries
tablebeneficiary_session
pivot tableCurrent Implementation
Here's my current implementation in the
CourseSession
Nova resource:And here are the relevant parts of my models:
The Problem
The multi-select functionality for beneficiaries is not working as expected on any view:
Questions
BelongsToMany
field to allow multiple selections on all views (create, and edit)?BelongsToMany
fields in Nova that could be preventing multi-select functionality?Any help or guidance would be greatly appreciated. Thank you!