Using Dojo 1.2.0 on FF3.
I've been experimenting with setting the "min" constraint on DateTextBox to today's date.
When the HTML value of "constraints" sets "min" to:
* new Date(): The current day is clickable in the calendar (days before are not), but the value immediately fails validation. Reentering the value as the next day passes validation.
* The result of a js function, resulting in: "2008-10-9": The min value appears to be ignored completely.
* The result of a js function, resulting in: "2008-10-09": Correct clickable days, correct validation
* The result of a js function, resulting in: new Date(date.getFullYear(), date.getMonth(), date.getDate()): (where "var date = new Date()") Correct clickable days, correct validation
It's really curious that just "new Date()" only half worked. It resulted in the correct "clickability" (today was clickable, but not yesterday), but the validation was off by one. It let me click on today, but then immediately failed validation on it.
It's also curious that the days value had to be "09", instead of "9", or it would ignore the value completely.
Note that I can't find any documentation on the "min" property in the API reference. I believe I saw a mention somewhere in there that it exists, but nothing about the required format for it.
