Closed yadue closed 3 years ago
Min max options are working incorrectly:
If I set
minDate -> 15.06.2021, then it allows to select 01.06-15.06. First argument should be date, not this.options.minDate. Same situation for maxDate.
private isDateSelectable(date: Date): boolean { if (this.options.minDate && isBefore(this.options.minDate, date)) { return false; } if (this.options.maxDate && isAfter(this.options.maxDate, date)) { return false; } return true; }
This PR fixes it.
All committers have signed the CLA.
and please keep package-lock.json file, also rebase against current master otherwise I cannot merge it.
package-lock.json
@jkuri can you publish npm package? Thanks in advance
@yadue already done.
Min max options are working incorrectly:
If I set
minDate -> 15.06.2021, then it allows to select 01.06-15.06. First argument should be date, not this.options.minDate. Same situation for maxDate.
This PR fixes it.