Skip to content

fix(ios): preferredDatePickerStyle property #8899

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 3 commits into from
Sep 26, 2020
Merged

fix(ios): preferredDatePickerStyle property #8899

merged 3 commits into from
Sep 26, 2020

Conversation

asharghi
Copy link
Contributor

@asharghi asharghi commented Sep 25, 2020

This is my suggestion for the discussion at #8877 (comment)

I will add the same property to the datetime element after I have gotten feedback

NathanWalker
NathanWalker previously approved these changes Sep 25, 2020
@asharghi asharghi marked this pull request as ready for review September 25, 2020 20:32
This was referenced Sep 25, 2020
@NathanWalker NathanWalker merged commit dbefc43 into NativeScript:master Sep 26, 2020
@@ -98,6 +98,7 @@ export abstract class TimePickerBase extends View implements TimePickerDefinitio
public maxHour: number;
public minMinute: number;
public maxMinute: number;
public iosPreferredDatePickerStyle: number;

Choose a reason for hiding this comment

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

Shouldn't this be iosPreferredTimePickerStyle instead of iosPreferredDatePickerStyle. Because this is the time-picker component and not the date-picker component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link

@DepickereSven DepickereSven Oct 25, 2020

Choose a reason for hiding this comment

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

Okay, then I understand it. First I thought huh is this a mistake? Because it's a time picker component and not a date picker component. But now I understand why it's that name. Thanks for explaining

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.

3 participants