Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimepickerComponent gets corrupted after disabling and enabling #6673

Open
MSchoeftner opened this issue Jul 25, 2024 · 1 comment
Open

TimepickerComponent gets corrupted after disabling and enabling #6673

MSchoeftner opened this issue Jul 25, 2024 · 1 comment

Comments

@MSchoeftner
Copy link

Bug description:

Using Timepicker with a form control and disabling / enabling the form control, the control stops updating the value and observables stop emitting.

StackBlitz: https://stackblitz.com/edit/angular-17-starter-project-uvuy5h?file=src%2Fmain.ts

@mfruBRZ
Copy link

mfruBRZ commented Sep 6, 2024

I could also reproduce this with ngx-bootstrap 11.0.2 and Angular 16:

https://stackblitz.com/edit/angular-16-starter-ck78ww?file=src%2Fmy-component%2Fmy-component.component.ts

Steps to reproduce:

  1. Use timepicker as intended -> this works
  2. Press disable
  3. Press i.e. hour increase button (chevron up) -> hour increases by one even though it shouldn't
  4. press enable
  5. timepicker is not interactive anymore, even though it looks enabled. This is also persistent through further enable/disable presses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants