Skip to content

fix(time-picker): properly handle 0 on hour and minutes with valueChanged #10460

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

Merged
merged 1 commit into from
Dec 17, 2023

Conversation

NathanWalker
Copy link
Contributor

PR Checklist

What is the current behavior?

The TimePicker would not allow a value of 0 on hours or minutes due to invalid Property defaultValue setup.

What is the new behavior?

The properties are now defaulted to null which ensures the Property valueChanged will initialize values properly in the event the set value is same as default property value.

closes #10457

@cla-bot cla-bot bot added the cla: yes label Dec 17, 2023
@MrSnoozles
Copy link

I tried the changes. It's working correctly now. 🎉

The PR also closes
NativeScript/nativescript-angular#1813
#8941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TimePicker: show minutes incorrectly when setting minute in Android
2 participants