Topic: Angular 8 mdbdatepicker onchange get selected date

myictsolutions premium asked 5 years ago


How can you get in an onchange event the value of the selected date?

i tryed this :

but its not triggering the function -> datePickerChange($event) in my ts file

thanks for the help :)


myictsolutions premium answered 5 years ago


A great thanks totally missed that page :)


Arkadiusz Idzikowski staff answered 5 years ago


The correct output name is dateChanged. Please take a look at the example in our documentation: https://mdbootstrap.com/docs/angular/forms/date-picker/#a-outputs (switch to API tab at the top of the page and go to 'Outputs' section).



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

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 8.1.1
  • Device: Mac Book pro
  • Browser: chrome v67
  • OS: Mojave
  • Provided sample code: No
  • Provided link: No