简体   繁体   English

Orbeon Forms - 日期选择器更改为错误的日期

[英]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 ,这是不可取的,因为这将通过日期验证和没有强大的智能进入支持。

Is there anyway to stop this behavior or set forceParse to false in the xbl component when configuring the form?在配置表单时,是否有停止这种行为或在 xbl 组件中将forceParse设置为 false ?

This issue with inconsistent parsing of years above 10,000 is fixed in Orbeon Forms 2020.1 (which isn't yet released at the time of this writing). Orbeon Forms 2020.1(在撰写本文时尚未发布)中修复了超过 10,000 年的解析不一致的问题。 For more on this, see #4637 .有关这方面的更多信息,请参阅#4637

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM