Opened 13 years ago

Last modified 10 years ago

#7011 closed defect

[patch] [cla] ValidationTextBox reset() doesn't reset field error message and status — at Version 1

Reported by: guest Owned by:
Priority: high Milestone: 1.2
Component: Dijit - Form Version: 1.1.1
Keywords: ValidationTextBox Cc:
Blocked By: Blocking:

Description (last modified by bill)


  1. Have a ValidationTextBox in a Dialog
  2. Open the dialog
  3. Enter something invalid
  4. Error message is displayed
  5. Cancel and hide the dialog
  6. Re-open the dialog
  7. Error message and state is visible (i.e. not reset)

Solution: Overload the reset() method to reset the messages and state.

Notes: It would be nice if reset the fields for you:

dojo.forEach(this.getDescendants(), function(w){
    if(w.reset){ w.reset(); }

-Chris Barber

Change History (2)

Changed 13 years ago by guest

comment:1 Changed 13 years ago by bill

Description: modified (diff)
Note: See TracTickets for help on using tickets.