Skip to content

Timepicker minute interval not working, iOS 14 #8843

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

Open
gregersen79 opened this issue Sep 10, 2020 · 5 comments
Open

Timepicker minute interval not working, iOS 14 #8843

gregersen79 opened this issue Sep 10, 2020 · 5 comments

Comments

@gregersen79
Copy link

Environment

  • CLI: 7.0.4
  • Cross-platform modules: 7.0.2
  • Android Runtime:
  • iOS Runtime: 7.0.0
  • Plugin(s):

Describe the bug
Setting the minuteinterval property of Timepicker, has no effect.
Only testet on iOS. Testet on iOS 14 beta 7 on iPhoneX.

@gregersen79 gregersen79 changed the title Timepicker minute interval not working Timepicker minute interval not working, iOS 14 Sep 10, 2020
@Ross-Olivares
Copy link

Hi @gregersen79
Thank you for reporting this issue.
We are going to try replicate this case on our end. Let me know if you can send us a sample project or playground link so we can reproduce the issue.

@gregersen79
Copy link
Author

Hi @Ross-Olivares I don't have a sample project at the moment, but let me know if you need it. What I try to do is simply to set the minuteInterval property on the TimePicker object, and I have also tried setting it on the native object

timePickerViewObj.ios.minuteInterval = 15;

Also setting the minHour and minMinute properties seems to have no effect.

@Ross-Olivares
Copy link

@gregersen79 I tested and it seems to be working on my end, can you try this application
Let me know how it goes.

@gregersen79
Copy link
Author

gregersen79 commented Sep 18, 2020

@Ross-Olivares Unfortunately I can't run the application you in your link, I had to migrate it to Nativescript 7 and I get an error when trying to do this (something about "Not in Git repo"). The two main differences on our projects is yours is Typescript and I'm using Javascript, your targeting {N}6.5 and I'm targeting {N}7. Don't know if this could mean something.
But I have made a very simple sample project to reproduce it. I just created a new project and added a Timepicker to xml

<TimePicker minuteInterval="15" minHour="8"/>

And still I was able to select every minute, and go back hours below 8.
Let me know if you would like me to send this sample project.

Simulator Screen Shot - iPhone 11 - 2020-09-18 at 10 09 06

Simulator Screen Shot - iPhone 11 - 2020-09-18 at 10 09 17

@Ross-Olivares
Copy link

@gregersen79 Yes send me your sample project.

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

No branches or pull requests

2 participants