Running: Laravel 5.3 with Laravel Backpack CRUD 3.1
I am running into situations where I have a Model that I would like to add multiple related (child) records too, using just one CRUD form. Some examples would include adding multiple files... but let's start small. I have found the following posts that have similar topics, but not clear answer on the best way to do this.
Is the best way to use the table
Field Type? http://ift.tt/2pAU1Gb But, I guess the drawback is not having validation on the child records?
A similar tutorial to this one would be cool: http://ift.tt/2qwuqeR
So, an example would be where I have a Journey model and would like to add multiple Chapters to the Journey directly on the same Journey CRUD form.
Let me know if this question makes sense... and any suggestions/advice you can share.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire