Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#5043 closed defect (fixed)

ValidationTextBox continues showing promptMessage instead of invalidMessage

Reported by: guest Owned by: Douglas Hays
Priority: low Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

ValidationTextBoxes will continue to show the promptMessage and never switch to the invalidMessage if when the user starts to type in the text box the content is immediately invalid.

If the first character typed is valid and then the content becomes invalid after typing a bit more the invalidMessage shows correctly.

Example: go to http://download.dojotoolkit.org/release-1.0.0/dojo-release-1.0.0/dijit/tests/form/test_validate.html and in the "Age" <input> box type "a" as the first character.

Attachments (1)

ValidationTextBox.js (9.2 KB) - added by guest 12 years ago.
Replace the ranges to real values of constraints in line 253

Download all attachments as: .zip

Change History (9)

comment:1 Changed 12 years ago by bill

Component: GeneralDijit
Description: modified (diff)
Milestone: 1.0.11.1
Owner: changed from anonymous to Douglas Hays

comment:2 Changed 12 years ago by Douglas Hays

Adding position:relative to dijitInlineTable seems to fix it magically.

comment:3 Changed 12 years ago by Douglas Hays

Wrong defect - ignore last append...

comment:4 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [11467]) Fixes #5043. Must hide the tooltip when changing the text or else its ignored.

Changed 12 years ago by guest

Attachment: ValidationTextBox.js added

Replace the ranges to real values of constraints in line 253

comment:5 Changed 12 years ago by guest

Resolution: fixed
Status: closedreopened

to show the real value ranges, must to aplicate the last change from http://trac.dojotoolkit.org/browser/dijit/trunk/form/nls Ticket #2389

comment:6 Changed 12 years ago by bill

Huh? What does "to aplicate" mean?

comment:7 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: reopenedclosed

This was fixed in [11467]. I don't know why it was reopened.

comment:8 Changed 8 years ago by bill

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