Skip to content

fix(datepicker): label state not being updated in some cases - #19761

Merged
jelbourn merged 1 commit into
angular:masterfrom
crisbeto:date-range-state-changes
Jun 29, 2020
Merged

fix(datepicker): label state not being updated in some cases#19761
jelbourn merged 1 commit into
angular:masterfrom
crisbeto:date-range-state-changes

Conversation

@crisbeto

Copy link
Copy Markdown
Member

The date range input wasn't emitting to its stateChanges stream when typing in the sub-inputs which meant that in some cases the view state was out of sync. These changes add an extra call to ensure that everything is synced up.

The issue manifests itself in one of the live examples:
demo

The date range input wasn't emitting to its `stateChanges` stream when typing in the sub-inputs which meant that in some cases the view state was out of sync. These changes add an extra call to ensure that everything is synced up.
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release labels Jun 25, 2020
@crisbeto
crisbeto requested a review from mmalerba as a code owner June 25, 2020 17:07
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Jun 25, 2020

@mmalerba mmalerba left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmalerba mmalerba added lgtm action: merge The PR is ready for merge by the caretaker labels Jun 25, 2020
@jelbourn
jelbourn merged commit fcfc224 into angular:master Jun 29, 2020
jelbourn pushed a commit that referenced this pull request Jun 29, 2020
The date range input wasn't emitting to its `stateChanges` stream when typing in the sub-inputs which meant that in some cases the view state was out of sync. These changes add an extra call to ensure that everything is synced up.
@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Jul 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants