I am using the PrimeNG dropdown with the PrimeNG turbo table. I have column that uses the dropdown in edit mode where I need the options to be filtered based on the value of another column. Then I have the issue described here.
I can't really find a good way to use lists for the options instead of a method as that would require me to maintain a list of options for each of the rows in the table.
- Does anyone know how to fix the issue ?
- Can someone suggest a better way of getting the options where I don't face this problem ?
I updated you code as below, and it works.
Chnages in OnInit
Changes in Html