开发者

ExtJS4 TimeField increment

开发者 https://www.devze.com 2023-04-06 04:09 出处:网络
I just want to have 2 (08:00 and 13:00) values in a TimeField :开发者_StackOverflow社区 xtype: \'timefield\',

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

精彩评论

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