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

fix(datepicker): dateInput event being fired if the value hasn't changed #10952

Merged
merged 1 commit into from
May 10, 2018

Conversation

crisbeto
Copy link
Member

Fixes the dateInput event being fired even if the value hasn't changed. This can happen if the browser fires the input event while the value hasn't changed (e.g. if the user marks a character and "replaces" it with the same character).

@crisbeto crisbeto requested a review from mmalerba as a code owner April 23, 2018 03:12
@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Apr 23, 2018
@mmalerba mmalerba added pr: lgtm action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release and removed pr: needs review labels Apr 23, 2018
@andrewseguin andrewseguin added the presubmit failures This PR has failures in Google's internal presubmit process and cannot be immediately merged label Apr 26, 2018
@jelbourn jelbourn removed action: merge The PR is ready for merge by the caretaker presubmit failures This PR has failures in Google's internal presubmit process and cannot be immediately merged labels May 10, 2018
@jelbourn
Copy link
Member

This passes google presubmit but looks like it's failing on Travis

Fixes the `dateInput` event being fired even if the value hasn't changed. This can happen if the browser fires the `input` event while the value hasn't changed (e.g. if the user marks a character and "replaces" it with the same character).
@crisbeto crisbeto force-pushed the dateinput-event-multiple branch from 4c40a5b to 8125b15 Compare May 10, 2018 16:16
@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label May 10, 2018
@crisbeto
Copy link
Member Author

I've sorted out the test failures @jelbourn.

@jelbourn jelbourn merged commit a62cdb6 into angular:master May 10, 2018
jelbourn pushed a commit to jelbourn/components that referenced this pull request May 14, 2018
…ged (angular#10952)

Fixes the `dateInput` event being fired even if the value hasn't changed. This can happen if the browser fires the `input` event while the value hasn't changed (e.g. if the user marks a character and "replaces" it with the same character).
@angular-automatic-lock-bot
Copy link

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 Sep 8, 2019
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 target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants