Skip to Content
0
Former Member
Mar 05, 2015 at 11:44 AM

Set Range on DateTimeInput

41 Views

Hello Experts,

currently im trying to implement a SAPUI5 DateTimePicker (sap.m.DateTimeInput). But unfortunately im unable to set some Properties:

This is my current implementation in my XML View:

<DateTimeInput

id="Time_Break"

type="Time"

valueFormat="HH:mm:ss"

value="00:30:00"

class="TimeFormat"

width="225px"

change="onInputChange" />

Now my Problems where i stuck on implementing:

- I want to set the Range of the Minutes to 5. For Example: 00, 05, 10, 15 etc.

- I want to make the input via keyboard possible. So that a user can enter the Time via keyboard-numbers.

Is there any way to achieve this?

Thanks for your Help!

Sascha