I’m struggling to accomplish something that I would have thought to be simpler and I can’t seem to find any examples on here.
I have a list of items that is the main content of the app. What I want to accomplish is to allow users to create multiple named lists of their favorited or bookmarked items. You see this sort of thing in many apps (AirBnB, for example lets you create multiple lists of favorites items with each list having a different name). I’ve created a table called user lists which I have successfully create a form to allow users to create named lists that only they can see. But haven’t figure out how to be able to create a form in which, while browsing the main list of items, they can click on it and add it to one of their lists.
This is close:
But this assumes only one list, (also, I don’t see how that’s functionally much different than the built in “Favorites” function, but maybe I’m missing something that would tell me how to use this to accomplish my goal). What would be an ideal expansion of what is described in that post is that the user clicks “Add to my lists” and can choose one of their existing lists to add the item to.
Any suggestions or links to other posts that I may have missed that describe how to build this functionality?