Posted 27 May 2021, 12:06 am EST
Hi,
Can you please provide us a small demo in which we want to bind new dropdown collection to a newly added row with its preselection.
For example -
We have added a new blank row in below snippet. But on selection of one of the element from section column we need to show different dropdown collection for subject column for that particular new row.
Example - Subject dropdown collection can be [1,2,3] instead of [‘english’, ‘maths’, ‘Computers’, ‘physics’, ‘chemistry’] and in this we also need to show ‘All’ as preselected.
https://stackblitz.com/edit/angular-wvvf7h?file=src/app/app.component.html
Please provide solution.
Thank You.