开发者

ExtJS4 TimeField increment

I just want to have 2 (08:00 and 13:00) values in a TimeField :开发者_StackOverflow社区

xtype: 'timefield',
name: 'operation[starthour]',
editable: false,
minValue: '08:00',
maxValue: '13:00',
value: '08:00',
increment: 300

It doesn't work at all. With this code I just have 10:00 value in the combobox.


The docs say:

The number of minutes between each time value in the list.

An increment of 300 means 5 hours.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜