[英]Orbeon Forms - Date Picker Changes to Wrong Date
When a user enters an invalid date into the date picker field for example, 99/99/99999
and the user clicks away causing the input to loose focus the date changes to 7/6/99999
which is undesirable as this will pass date validation and not strong smart entry support.当用户在日期选择器字段中输入无效的日期(例如99/99/99999
并且用户点击离开导致输入失去焦点时,日期更改为7/6/99999
,这是不可取的,因为这将通过日期验证和没有强大的智能进入支持。
forceParse
a feature of the underlying Bootstrap date picker .我知道这是由底层Bootstrap 日期选择器的一个功能forceParse
引起的。true
in the Scala class implementing the date picker .我还看到在实现日期选择器的 Scala class中将此设置为true
。 Is there anyway to stop this behavior or set forceParse
to false in the xbl component when configuring the form?在配置表单时,是否有停止这种行为或在 xbl 组件中将forceParse
设置为 false ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.