Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#4422 closed defect (fixed)

dijit.form.DateTextBox constraints:{trim:true} dosn't work

Reported by: guest Owned by: bill
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


not sure if it's not inteded to be provided but it is listed in the dojo 0.9 books: ( In the tests if you add to the list of constraints trim:true or trim:'true' dates with spaces on the end don't get trimmed.

Change History (7)

comment:1 Changed 14 years ago by Adam Peller

Owner: set to Douglas Hays

comment:2 Changed 14 years ago by guest

this also appears to be true for dijit.form.NumberTextBox?

comment:3 Changed 14 years ago by Douglas Hays

the doc is wrong. trim=true in the markup, the same as 0.4.

comment:4 Changed 14 years ago by Douglas Hays

(In [10603]) Fixes #4542. References #4422. Removed value from _FormWidget attributeMap since it is handled specially. Added check for invalid values to format() and filter(). Added this.filter to getTextValue() so that trim works on object value types.

comment:5 Changed 14 years ago by Douglas Hays

Milestone: 1.0
Owner: changed from Douglas Hays to bill

The trim function reference in the porting guide description of DateTextBox? needs to be removed since its unchanged from 0.4.

comment:6 Changed 14 years ago by bill

Resolution: fixed
Status: newclosed

comment:7 Changed 11 years ago by bill

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