Opened 13 years ago

Closed 13 years ago

#2632 closed defect (fixed)

ValidationTextbox sets wrong class

Reported by: joose Owned by: Douglas Hays
Priority: high Milestone:
Component: Widgets Version: 0.4.2
Keywords: ValidationTextbox Cc:
Blocked By: Blocking:

Description

When:

value == empty
required == true
 ==>> Class="Empty"

class should be Invalid

So:

value == empty
required == true
 ==>> Class == "Invalid"

Attachments (1)

ValidationTextBox.patch (827 bytes) - added by joose 13 years ago.
makes missing + empty => invalid -class and not empty -class

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by joose

Attachment: ValidationTextBox.patch added

makes missing + empty => invalid -class and not empty -class

comment:1 Changed 13 years ago by bill

Owner: changed from bill to Douglas Hays

comment:2 Changed 13 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

This is fixed in the 0.9 trunk. The new classes are: dojoInputFieldValidationError dojoInputFieldValidationWarning dojoInputFieldValidationNormal

No value and required=true is an error condition.

Note: See TracTickets for help on using tickets.