Hello. I am trying to implement the addition of recipes on the site with a choice of already added products to the database. Naturally, there are several products to choose from, but the base is supposed to be large, therefore it has fallen into a small dead end due to lack of experience. I can not think how it is more convenient for the user to realize the choice of these products.
Maybe there is some select with search in yii2?
Or is it better to make a gridView in which you can select several products? (And if turning the pages will the data not be reset?)
Or there are more convenient ways that did not occur to me .. Please advise me))
SELECT p.name,p.price FROM products p INNER JOIN baskets b ON b.product_id = p.id- Vanya Avchyan