Use the <durationinput> tag to enable editing the time duration field.

Available attributes:

Attribute

Type

Mandatory

Description

alignRightBooleanNSet to true, to align text to the right.

value

IntegerN

Specify the time in milliseconds.

maxValueIntegerNSpecify the maximum value in milliseconds.
excludeArrayNSpecify the parameters to exclude from the display.
onChangeFunctionNSpecify the function to call for when the value changes. 

Example:

durationinput
<durationinput value='{data.duration1}' exclude='["days","seconds"]' alignRight='true' onChange="s_widget_custom.onChange1(arguments[0]);"></durationinput>
<durationinput value='{data.duration2}' exclude='["days","seconds"]' alignRight='true' onChange="s_widget_custom.onChange2(arguments[0]);"></durationinput>


  • No labels