Can I create two multiple select fields where the options in the second select menu are based on what is chosen in the first select?
Clarification:
Each category has various associated descriptions.
The initial select menu, named "categories", contains static options that do not change. The second select menu is known as "descriptions".
I can choose multiple categories. If I select a category from the first menu, the second menu will display all descriptions linked to that category as options. Whenever I choose another category, the related descriptions will be appended to the second menu, and vice versa when deselecting categories. I want it to update dynamically.
I have come across these resources:
https://github.com/sagalbot/vue-select https://github.com/monterail/vue-multiselect
However, I am still searching for a solution that accommodates two multiple selects together. Any suggestions?
P.S. The number of categories and descriptions is minimal, so loading them all into the view for Vue manipulation is feasible without requiring an ajax call.