I’ve got a form with a time field, I am 92% certain that I’ve used it before without issue, but now when I try to change the value on my Android phone, I get this:
As you can see, I can clear and cancel, but I cannot set.
The input code is as follows
<input name="what" type="time" />
When I access the following JSFiddle from Chrome on my android phone, I get the modern date selector.
Hi, sorry not quite sure how to make a codepen for an ionic framework app, but if you do
ionic start someApp sidemenu
and add the following before ion-list in playlists.html
`
`
You will get the what I am experiencing. I am using Android 5.0 (on a Nexus 5) and I think that’s the significant change I’ve made to either phone or app recently!
If you guys are describing what I think you are, then try this.
In you’re platforms/android/ folder, edit the AndroidManifest.xml
Look for a part android:theme="@android:style/Theme.Black.NoTitleBar" and remove it.
This sets the native ui theme for android. By removing this, we’ll just use the default theme provided by the android version.
@abhinavguptas Thanks for the suggestion. How are you triggering the DatePicker to show?
Right now I have to set the input to have type="text" and readonly and then open the DatePicker on click. (Otherwise ionic will attempt to show the broken date picker when the input is clicked)
Hi, after facing several issues with the time pickers available on market myself, wanting a more native experience for the user, I’ve created a new component which does just that.