禁止手动输入日期

问题描述

如何设置窗口小部件以禁止手动输入日期?用户只能使用日历选择日期。

示例表单在这里https://js.devexpress.com/Demos/Widgetsgallery/Demo/Form/CustomizeItem/Angular/Light/

我指的是“雇用日期”。

解决方法

将[editorOptions]的“ acceptCustomValue”字段设置为“ false”。