Is there a time picker in Ionic?


#1

There is a data input in HTML5, but how about time only? something like 8:05 AM, 9:00 PM,


#2

It is not input but I think you can use native time picker. Take a look at related section on ngCordova page. Also, I have not used it yet but you may configure angular-datepicker to only pick time.


#3

You can use Ionic to make use of the native date/time pickers on your mobile device.

According to W3Schools.com, setting “time” as the input type as per the example below should do the trick.

<input type="time">

(source: http://www.w3schools.com/html/html5_form_input_types.asp)


#4

This works on iOS 8. I have not test android, I guess should works on Android 4.0 above.


#5

According to this page HTML5 tests - inputs (mobile), Safari 5 and above support input time, but android does not.


#6

Here is a little better explained.
http://caniuse.com/#feat=input-datetime


#7

I have created a time picker for ionic framework which supports both 12 and 24 hour format. with 1 and 15 minutes increment / decrement.

Find it in link.


#9

Having issues with existing time pickers, I’ve created a new one which has a native feel to it.

It can be seen at:

Hope this helps,
Thanks!