【发布时间】:2019-12-19 18:47:15
【问题描述】:
是否可以让 Angular Dateinput 组件的 Kendo UI 不允许 startDate 等于 endDate?
从示例中,我将其设置为这样的样式,但除了禁止特定日期外,我没有看到任何限制范围的方法。这里允许所有天,我只需要 endDate 始终为最小值,即第二天。
谢谢!
<kendo-daterange>
<label>
<span class="label">Start</span>
<kendo-dateinput kendoDateRangeStartInput [(value)]="range.start"></kendo-dateinput>
</label>
<label>
<span class="label">End</span>
<kendo-dateinput kendoDateRangeEndInput [(value)]="range.end"></kendo-dateinput>
</label>
<kendo-daterange-popup [animate]="false"></kendo-daterange-popup>
</kendo-daterange>
【问题讨论】:
标签: kendo-ui kendo-ui-angular2