Hi guys,
I've been playing around (rather unsuccessfully), so I figured I'd ask you guys for ideas/best practices.
What I want to accomplish
In my app you create journal entries, and I want these entries associated with other users by selection (think of it like tagging, for simplicity). I want to create a custom multiselect dropdown menu (I want avatars in there, hence the custom part) where I select these users (queried from a list of users 'attached' to me in the Firebase.)
What I've tried
I structured my component as follows:
1. UserRow (Component w. avatar and name)
2. UserRowList (Component that runs the query and displays UserRows in ListView)
I've tried keeping a component state list of selected items in UserRowList, as well as in an App State, but that hasn't been successful or it hasn't propagated "selected" all the way down to the UserRow component..
So any examples or thoughts on how to manage a component like this would be super awesome ๐
Here's an example of what I'm trying to create