I am trying to add some filter logic to a document database. The list of select lists varies by which product and category a user has selected.
/productx/marketing would have selectlista, selectlistb, and selectlistc
while
producty/marketing would have selectlista, selectlistd, and selectliste
I am struggling to visualize how i can accomplish this. My 1st thought was a single view that iterates over a "list of selectlists and renders a html.dropdown for each element. But i am unsure how to create this list of selectlists for the view to iterate. Has anyone else addressed a similar problem? If so what approach did you end up using to solve it?