fragaria / angular-daterangepicker

Angular.js wrapper for dangrossman/bootstrap-daterangepicker
MIT License
519 stars 372 forks source link

IsInvalidDate #274

Closed bradleykins closed 5 years ago

bradleykins commented 7 years ago

How do we pass a function through to the isInvalidDate option on the bootstrap component?

I have tried setting this in the settings:

$ctrl.datepicker.option{ isInvalidDate: checkDate(date) }

this tells me that the "date" value is invalid, what is the correct pass through with this angular wrapper?