The calendar handles incorrect input correctly by changing it into today's date. But it does not recognize dashes as incorrect input. Typing a dash '-' or multiple dashes '----' in the text field changes the value into something like 'NaN-NaN-NaN' or 'NaN/NaN/NaN', depending on the format, and the calendar itself will show an undefined month in the year 'NaN' with the days ranging from 1 to 42.

Calendar does not recognize dashes as invalid input
7 August, 2008 - 14:30 — yudiHi Reinier,
Can you try to add format="dd-MM-yyyy" attribute the calendar ?
~Yudi
That doesn't work either
8 August, 2008 - 07:28 — ReinierHi Yudi,
Thanks, but that doesn't work either. But format="-dd-MM-yyyy" returns "-08-08-2008", while format="dd-MM-yyyy" returns "NaN-NaN-NaN".
By the way, I tested it in the Backbase Explorer on http://demo.backbase.com/explorer/#|examples/calendarInline.xml.
Reinier
Calendar does not recognize dashes as invalid input
8 August, 2008 - 10:31 — yudiHi Reiner,
This is how I added the date format in the calendar. It can recognize the dash in that date format now.
<b:calendar width="16em" mode="inline" format="dd-MM-yyyy"/>But I think it will be better if the calendar can recognize the dash no matter the date format with dash is defined or not, therefore I have entered this into our issue tracking system.
~Yudi
Calendar does not recognize dashes as invalid input
8 August, 2008 - 10:38 — ReinierHave you tried typing one single dash "-" in the text field? It still changes into "NaN-NaN-NaN".
Reinier
Calendar does not recognize dashes as invalid input
8 August, 2008 - 11:19 — yudiI tried the following entries to the calendar with format="dd-MM-yyyy" :
1st entry : 03-08-2008 result is nothing change
2nd entry : 3-8-2008 result is turns to 03-08-2008
3rd entry : 03/08/2008 result is turns to 03-08-2008
4th entry : 3/8/2008 result is turns to today date
~Yudi
One dash
8 August, 2008 - 13:34 — ReinierOK, I can reproduce that. But try typing only one single dash. The result will contain NaN and the calendar will be broken.
08-08-2008 => 08-08-2008 = OK
5 => 05-08-2008 = OK
08-05 => 08-05-2008 = OK
- (yes, just a single dash) => NaN-NaN-NaN = NOT OK
Reinier
One dash
8 August, 2008 - 13:49 — yudiYes, I can reproduce that issue. The issue has been added into our issue tracking system . Thank you for reporting this.
Cheers,
Yudi