Topic: Date binding in mdb-date-picker for date format mm/dd
                  
                  Sujan Maharjan
                  free
                  asked 5 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?
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- 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