Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Date binding in mdb-date-picker for date format mm/dd

Sujan Maharjan free asked 4 years ago


I had used:

public monthDateOptions: IMyOptions = { dateFormat: 'mm/dd', showTodayBtn: false, showClearDateBtn: false, closeAfterSelect: true, };

Using this option i was able to get the date in mm/dd format.

But when i fetched the date from database and tried to bind the date, there was an error:

Cannot read property 'value' of undefined at UtilService.getNumberByValue

Is it that the date picker couldnot bind date if it is in format mm/dd?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 8.9.0
  • Device: Computer
  • Browser: chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No