Check out my PLNKR CODE
Issue -
I'm attempting to create a dynamic label and textarea
option where:
- If a user picks "Work," then when they click the "+" icon, the next selection will only include ["Cell", "Home", "Fax"].
- Then if "Home" is selected, on clicking the "+" icon from the second selection, the following options will only be ["Cell", "Fax"] and so forth.
However, I am struggling because my first array is decreasing and no data is appearing in the subsequent select options.
Please let me know what mistake I might be making and any suggestions on how to correct it are also appreciated.