You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/NationalBankBelgium/stark/blob/master/CONTRIBUTING.md#got-a-question-or-problem
Current behavior
When stark-date-picker is removed, using *ngIf directive, changing the attached formControl triggers error
ERROR
Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges
Expected behavior
Changing value of formControl after destroying stark date-picker component should not trigger any error.
Minimal reproduction of the problem with instructions
…sage
Modifying formControl value after destroying `stark-date-picker` or `stark-datetime-picker`
components triggers the following error:
`Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges`
ISSUES CLOSED: NationalBankBelgium#2874
…sage
Modifying formControl value after destroying `stark-date-picker` or `stark-datetime-picker`
components triggers the following error:
`Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges`
ISSUES CLOSED: NationalBankBelgium#2874
…sage
Modifying formControl value after destroying `stark-date-picker` or `stark-datetime-picker`
components triggers the following error:
`Error: ViewDestroyedError: Attempt to use a destroyed view: detectChanges`
ISSUES CLOSED: NationalBankBelgium#2874
I'm submitting a...
Current behavior
When stark-date-picker is removed, using
*ngIf
directive, changing the attached formControl triggers errorExpected behavior
Changing value of formControl after destroying stark date-picker component should not trigger any error.
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/stark-datepicker-issue-2874?file=main.ts
What is the motivation / use case for changing the behavior?
Fixing a bug
Environment
The text was updated successfully, but these errors were encountered: