could you please tell me how to add onchange event on dropdown in angular ? I made a simple demo in which initially I fetch bank names and show in drop down<
bank names
drop down<
Use (change) event instead of (ngModelChange).
{{option.text_val}}
In typescript file:
onOptionsSelected(value:string){ console.log("the selected value is " + value); }