Open fabdrol opened 8 years ago
Since you're alreading providing a string as the format, remove the ":" (colon) prefix from format, because it will try to evaluate 'dd/mm/yyyy', which is not valid JS. Just change :format="'dd/mm/yyyy'" to format="dd/mm/yyyy"
Datepicker initialises, but when you click a date in the popover it throws an error and a warning: Error:
Uncaught TypeError: Cannot read property 'getMonth' of null
Warning:[Vue warn]: Error when evaluating expression "{'datepicker-dateRange-item-active': (this.mouthNames[this.parse(this.value).getMonth()] === m) && this.currDate.getFullYear() === this.parse(this.value).getFullYear()}".