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

minuteInterval does not seem to be working #65

Open
0x011B opened this issue May 23, 2024 · 0 comments
Open

minuteInterval does not seem to be working #65

0x011B opened this issue May 23, 2024 · 0 comments

Comments

@0x011B
Copy link

0x011B commented May 23, 2024

Describe the bug
While recognized as a parameter, minuteInterval does not seem to be recognized. You can still select any minute available.

To Reproduce
Simply installing the plugin and using minuteInterval

Expected behavior
Minutes should only be selectable by their interval. Any other option should simply not be an option

Cordova
List Cordova versions by running:

  • cordova -v 12.0.0
  • cordova platform ls android 12.0.1

Plugin version
Most recent

Development OS (please complete the following information):

  • OS: Windows

Device (please complete the following information):

  • Device: Android Emulated Phone/Tablet

Additional context
Creating a new time picker also throws this error every time and takes a bit longer than to be expected:

java.lang.NoSuchFieldException: timePicker
	at java.lang.Class.getField(Class.java:1635)
	at com.skwas.cordova.datetimepicker.TimePickerDialog.onCreate(TimePickerDialog.java:90)
	at android.app.Dialog.dispatchOnCreate(Dialog.java:432)
	at android.app.Dialog.show(Dialog.java:321)
	at android.app.TimePickerDialog.show(TimePickerDialog.java:151)
	at com.skwas.cordova.datetimepicker.DateTimePicker.showDialog(DateTimePicker.java:293)
	at com.skwas.cordova.datetimepicker.DateTimePicker.access$400(DateTimePicker.java:28)
	at com.skwas.cordova.datetimepicker.DateTimePicker$1.run(DateTimePicker.java:231)
	[...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants