marcf
Nested Repeater
After triple checking my code, my db and my model, I think this is a Filament bug.
I manage to do a work around with this code (using saveRelationshipsUsing) but I need to implement again update, delete, create.
Sorry for this big message. Do you think I post an issue on filament github ?
7 replies
Nested Repeater
Hi everyone,
I've made changes to my database schema. Now, I've introduced events to which I'm attaching films, and I'm indicating that certain screenings of these films are also event screenings.
For this purpose, I now have a table for films, seance, evenement, as well as two pivot tables, evenement_film and evenement_film_seance.
I've also created pivot models EvenementFilm and EvenementFilmSeance following the tutorial "Integrating with a BelongsToMany Eloquent Relationship".
My resource is now configured as follows:
I'm facing another issue: during the first save, the evenement_film_id column in the evenement_film_seance table is null. If I save it again, it adds a new entry with all the information.
7 replies