Home > Software engineering >  suppose I select the first select option it should show me the list of the second select option. How
suppose I select the first select option it should show me the list of the second select option. How

Time:02-25

suppose I select the first select1 option1 it should automatically show me the list of the options in select 2 and when I select option 2 in select1 it should show me a list of options in select2. How can I do it in angular2?

support image

CodePudding user response:

Please look here: https://stackblitz.com/edit/angular-ivy-c8wsuc?file=src/app/app.component.ts If this solution doesn't fit you please put some example code and show where you have a problem.

  • Related