Topic: mdb-select with change event

jimsgroup pro asked 5 years ago

How can I bind the change event with mdb-select in Angular?

flakine pro answered 5 years ago

HTML <mdb-select ... (ngModelChange)="onChange($event)" ... > </mdb-select> Component onChange(event) { do your thing...; }

rctoone pro commented 5 years ago

what if you are not binding to a ngModel isn't there a (change)="onChange($event)? I tried that but it doesn't seem to be working.

Reza Assar free commented 5 years ago

@rctoone (selected) used instead.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No