on 06-08-2015 6:54 AM
Hi all!
We have a custom made UI5 app with many time picker controls. The standard time picker allows you to scroll the values up and down with swiping or with mouse clicks while using a PC or by finger with a mobile device. However, you can't type in the numbers which would be so much faster in many cases.
Our users use PC most of the time so the swiping interface is not optimal. On the other hand, they sometime use a mobile device and then the swipe/scroll control is fine.
This is what we use now (the Time control):
https://sapui5.hana.ondemand.com/sdk/explored.html#/sample/sap.m.sample.DateTimeInput/preview
Is there a time picker control which would allow both scrolling and typing or the typing input alone?
Thanks!
Br, Ossi
Not that I know of.
The input element is set to readonly.
We can remove the readonly property and you can enter the time but you need to validate the input yourself.
Thanks
-D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Dennis! This is good to know.
We just have to make do with the standard control for now. It's too much work to start coding all the input validations by hand. Just out of curiosity: how could one make the standard control open for editing?
Maybe in the future there will be a more flexible time control which can take in "cues" from the keyboard and jump to the correct position.
Hi,
If you need a control for the time part (without date part), there is a TimePicker recently appeared:
https://sapui5.hana.ondemand.com/sdk/explored.html#/sample/sap.m.sample.TimePicker/preview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.