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(input-time-picker, time-picker): fixing direct value setting issue where the minutes and seconds weren't respected when a default value is supplied #4321

Merged
merged 3 commits into from
Mar 31, 2022

Conversation

eriklharper
Copy link
Contributor

Related Issue: #4206

Summary

This PR removes a now-redundant watcher on the hour property of the time-picker component that was causing an incorrect updating of the minute and second values before the original programmatically-set value had a chance to propagate to them. This watcher is a remnant of a previous iteration of the component and is no longer needed because the meridiem is updated as part of the normal setValue workflow.

@eriklharper eriklharper requested a review from a team as a code owner March 28, 2022 22:08
@github-actions github-actions bot added this to the Sprint 03/28 - 04/08 milestone Mar 28, 2022
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Mar 28, 2022
@eriklharper eriklharper requested a review from jcfranco March 28, 2022 22:10
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

🎉

@jcfranco jcfranco changed the title fix(time-picker): fixing direct value setting issue where the minutes and seconds weren't respected when a default value is supplied fix(input-time-picker, time-picker): fixing direct value setting issue where the minutes and seconds weren't respected when a default value is supplied Mar 29, 2022
@eriklharper eriklharper merged commit b7dc95e into master Mar 31, 2022
@eriklharper eriklharper deleted the eriklharper/4206-default-set-value-bug branch March 31, 2022 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants