现在的位置: 首页 > 综合 > 正文

Ext dateField 设置minValue后,不能选中minValue

2013年09月20日 ⁄ 综合 ⁄ 共 316字 ⁄ 字号 评论关闭

{
        id:'startdt',
        name : 'contract.startDate',
        xtype : 'datefield',
        fieldLabel : '开始时间',
        minValue:new Date().clearTime(),
        allowBlank : false,
        blankText : '开始时间不能为空',
        format : 'Y-m-d H:i:s',
        vtype : 'daterange',
        endDateField : 'endDate'//
       },

 

 

只要加一个 .clearTime();

抱歉!评论已关闭.