Closed
Description
Bug description:
When using bs-datepicker-inline
, disabling dates "asynchronously" (e.g., after the component has been created) breaks firing of bsValueChange
.
Plunker/StackBlitz that reproduces the issue:
https://stackblitz.com/github/evilstiefel/ngx-bootstrap-datepicker-repro
Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 7.0.0
Angular: 12.2.0
Bootstrap: 5.1.0
Expected behavior
I would expect to be able to set the datesDisabled
property at any time, disabling dates, and not breaking change detection or the EventEmitter for bsValueChange
.