Skip to content

Regression: v7.1.2 bs-datepicker-inline not worked with async pipe or component subscription (and ChangeDetection.OnPush) #6511

Open
@DmitriyIvanko

Description

@DmitriyIvanko

Bug description:
Version 7.1.1 worked with async pipe (or subscribe in component) correctly, but v 7.1.2 not worked correctly. Not select date:

Try this code:
Using Plunkr, StackBlitz is
Screenshot_3

When you try select the date in datetimepicker bsValueChange event will not fire


Other information:
_ _ ____ _ ___
/ \ _ __ __ _ _ | | __ _ _ __ / | | | |
/ △ \ | '
\ / _ | | | | |/ _ | '
| | | | | | |
/ ___ | | | | (
| | || | | (| | | | || | | |
// __| ||_, |_,||_,|| _|||
|___/

Angular CLI: 14.2.3
Node: 16.13.2
Package Manager: npm 8.1.2
OS: win32 x64

Angular: 14.2.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, localize, material, platform-browser
... platform-browser-dynamic, router

Package Version

@angular-devkit/architect 0.1402.3
@angular-devkit/build-angular 14.2.3
@angular-devkit/core 14.2.3
@angular-devkit/schematics 14.2.3
@angular/cli 14.2.3
@schematics/angular 14.2.3
rxjs 7.5.6
typescript 4.8.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions