Topic: mdb-select with change event

jimsgroup pro asked 4 years ago


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

flakine pro answered 4 years ago


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

rctoone pro commented 4 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 4 years ago

@rctoone (selected) used instead.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Resolved

Specification of the issue

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