What is the correct way to get the selected value from a dropdown list on change.
I tried [ngmodel)]=“tankSize” (input)=“updateTank(tankSize)” and (onchange)=“updateTank(tankSize)”
but when I console the results, it’s always the PREVIOUS choice… for instance, if I select B, it shows me the default A, if I select C then, it shows me B.
What is the right way to pass that value?