bug(datepicker): monthSelected doesn't actually update formControl if calendar view closed before picking a date in the month #30463
Labels
needs triage
This issue needs to be triaged by the team
Is this a regression?
The previous version in which this bug was not present was
No response
Description
When opening a 'monthView' and closing a calendar in monthSelected event, pre-setting formControl value, its actually not changed. Its visible from the example I attached
Reproduction
StackBlitz link: https://stackblitz.com/edit/c5ckw68f?file=src%2Fexample%2Fdatepicker-views-selection-example.html,src%2Fexample%2Fdatepicker-views-selection-example.ts,src%2Fexample%2Fdatepicker-views-selection-example.css
Steps to reproduce:
Expected Behavior
formControl value has a selected month
Actual Behavior
formControl value doesn't change
Environment
The text was updated successfully, but these errors were encountered: