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<
try this.
{{option.text_val}} public onOptionsSelected(event) { const value = event.target.value; this.selected = value; console.log(value); }