Skip to profile content
I found it, boy is my face red… Turns out it was a stupid copy/paste error; I used ‘category’ instead of ‘categories’. I should really have gone for more descriptive names so this wouldn’t have happened. I’m sorry for wasting your time!
First super quick test with the latest version of Grocery CRUD (thanks!) gives me the same result as before, the edit modal doesn’t even load. Maybe I am missing something so let me ask it this way: looking at the example on the setRelationNtoN page, what would you have to do to make only the Title…
This is what I have: $crud->setRelationNtoN('categories', 'film_category', 'category', 'film_id', 'category_id', 'name'); $crud->columns(['title', 'question', 'answer']); $crud->defaultOrdering('film_id', 'desc'); $crud->setTexteditor(['question', 'answer']); When I use $crud->fields it’s not poss…
I would really like to get an official answer on this.