I am new to Vue JS and I have below requirement
Requirement :
I have dropdown with below values
On selection of each value, I want to add dropdown component on page, which are already defined. For example:
- On Selection of 'Closed', dropdown component (which is searchable dropdown)will be added
- On Selection of 'Reviewed', another dropdown component where user can select values from dropdown. (not searchable one). Likewise..
What I have :
- I already have all the different types of dropdowns as a component.
What I tried :
- I have loaded all the four types of dropdown on page load, and I am hiding and showing them based on dropdown value selection.
- Example: I am showing only searchable dropdown component when user select 'Closed' option and hiding other components. I am showing selectable dropdown component when user select 'Reviewed' option and hiding other components.
Problem :
- Now the requirement is, user can select any option N number of times and on each selection, respective dropdown component should get added.
- This screen also have edit functionality.
Note :
Any help / pointers would be appreciated. Thanks in advance.


