1 Reply Latest reply on Oct 15, 2018 9:11 AM by sinious

    Trying to get a good javascript datetimepicker for mobile both IOS and Android

    revdave Level 1

      Hi all,

       

      GOAL: Trying to get a good javascript datetimepicker for mobile - both IOS and ANDROID.

       

      I am building a mobile friendly web page (basic javascript) that has a date field on a form.

      To improve the interface, I am trying the flatpickr (https://github.com/flatpickr/flatpickr v4.5.2) to help with form date input.

      (on a mac browser there is a tiny chooser next to the year and you can easily jump from year to year.)

      Right now, It is working differently on IOS and android.

       

      ON IOS...

      the flatpickr seems to just show... 3 separate scrollable selectors, 1 each for Month - Day and Year - not what I expected but I like it.

       

      ON ANDROID...

      On Android, the flatpickr calendar does show up however the year chooser does NOT seem to show up so it is hard to change years... you would have to go month by month.

       

      Q: Is there a way to get the flatpickr to have the year chooser show up on android?

       

      Also - I think I would also like to have the android date picker work as it does on IOS as described above (3 separate scrollable selectors, 1 each for Month - Day and Year).

       

      Q: Is there a better javascript datetimepicker that works WELL on BOTH IOS AND ANDROID?

       

      Thanks Dave