Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#1152 closed defect (fixed)

dojo.validation.isInRange("a") validates as true

Reported by: dylan Owned by: dylan
Priority: high Milestone: 0.9
Component: Core Version: 0.2
Keywords: Cc: [email protected]
Blocked By: Blocking:


dojo.validation.isInRange("a") validates as true

Change History (3)

comment:1 Changed 16 years ago by dylan

Resolution: fixed
Status: newclosed

fixed in [4901], and testcase added to unit tests

comment:2 Changed 16 years ago by dylan

Milestone: 0.40.5
Resolution: fixed
Status: closedreopened

This won't work because it breaks things like +1,000 ... reverting for now, need a better solution later.

comment:3 Changed 16 years ago by tk

Cc: [email protected] added
Resolution: fixed
Status: reopenedclosed

r5829 improves upon this method, if a seperator is supplied, it strips that charactor from the value, if not, it assumes ',' as the separator. This allows isNaN() to be used which returns false to "A"

fixed by r5829

Note: See TracTickets for help on using tickets.