VitaliiBlagodir / cordova-plugin-datepicker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot select other date rather than today's date. When the date is changed, it roll back to today. Cannot see the future date value too.

workingattulipsatgithub opened this issue · comments

Earlier I was not getting the wheel picker style then I found
if (@available(iOS 13, *)) { UIDatePicker *picker = [UIDatePicker appearance]; picker.preferredDatePickerStyle = UIDatePickerStyleWheels; }

This allows me to load the datepicker in wheel style. But in IOS 14, with particularly notch in it (such as iphone 11), I get the wheel style picker but future date and time is not shown. If I try to select the other date than today, it reversed to current timestamp.

This issue I cannot find in IOS 14 with no notch and in simulator too.

I have attached the screenshot too.
image

My Client was indeed using the DarkMode.