Dynamically add dropdown menus and exclude selected options

Dynamically add dropdown menus and exclude selected options

Hello!

As I mentioned in the title, I'm trying to build dynamic dropdown menus. Once user chooses from list option, the same option is excluded (disabled) from other dropdowns.

So far I have built Add/Remove functionality. But I have no clue where to start with this problem with disabling selected options.


Any idea where should I start? Any help would be helpful.

Thank You!