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.
- I understand this is caused by
forceParsea feature of the underlying Bootstrap date picker. - I also see this is set to
truein the Scala class implementing the date picker.
Is there anyway to stop this behavior or set forceParse to false in the xbl component when configuring the form?
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). For more on this, see #4637.