Answer the question
In order to leave comments, you need to log in
How to display a list with categories from the database when creating a record in Yii2?
Hello!
It's some kind of bastard. Either I'm not catching up with something, or their guide is terrible at the current stage. No specific examples.
I will describe the essence of what I do. Created CRUD categories. Create, edit, view and delete their plows. But when creating, you need to select the parent category for the category being created, if necessary.
I collected something in pieces, but everything was by - Errors only managed to catch. Well, it is not possible to add a drop-down list with created categories when creating a new category.
Please, help. Write a ready-made example, otherwise I don’t know what to do anymore ...
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question