Opened 11 years ago

Closed 10 years ago

Last modified 8 years ago

#8149 closed defect (fixed)

onChange does not get triggered if ValdiationTextBox has errors

Reported by: stevenD Owned by: Douglas Hays
Priority: high Milestone: 1.3
Component: Dijit - Form Version: 1.2.2
Keywords: ValidationTextBox, onChange, subclass Cc:
Blocked By: Blocking:

Description

onChange does not seem to get triggered if there is a validation error on a ValidationTextBox?.

I've set up an example where you could reproduce the issue.

http://tinyurl.com/6h3ktw (i'm attaching the source as well)

  1. Initial value is "ABC"
  2. Change the value to "ABCD" and press the Submit button
  3. Pay attention to the console output
  4. Change the value to "ABCDe" and press the Submit button
  5. Pay attention to the console output

The value has been changed, but the onChange function hasn't been called.

Attachments (1)

onchange.html (1.7 KB) - added by stevenD 11 years ago.

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by stevenD

Attachment: onchange.html added

comment:1 Changed 10 years ago by Douglas Hays

Owner: set to Douglas Hays

comment:2 Changed 10 years ago by Douglas Hays

Milestone: tbd1.3
Resolution: fixed
Status: newclosed

Fixed by [16424], [16431], [16432]

comment:3 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.