dijit.form.DateTextBox executes validator property function during construction
The following code fragment demonstrates, at least in IE9, dijit.form.DateTextbox? executes the validator during construction; simply changing this code to TextBox? does NOT execute the validator during construction.
function test() {
var neverUsed = new dijit.form.DateTextBox({
validator:
function () {
console.log('executing the validator during construction');
}
});
}
Change History (7)
Milestone: |
tbd →
1.9
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Tested in 1.8, google CDN does not yet have 1.8.1.