#11788 closed defect (fixed)
dijit.form.TimeTextBox does not care about constraints
Reported by: | Ferdinand Weinberger | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.5.1 |
Component: | Dijit - Form | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
if i add constraints to the timetextbox, they have no effect. an exception is "timePattern". "timepattern" seems to work. but others like "visibleIncrement" not.
constraints: { timePattern: 'HH:mm:ss', clickableIncrement: 'T00:30:00', visibleIncrement: 'T00:30:00', }
ive attached two examples. version 1.4 is working. version 1.5 is not.
Attachments (3)
Change History (14)
Changed 10 years ago by
Attachment: | dijit_form_TimeTextBox_dojo1_4.html added |
---|
Changed 10 years ago by
Attachment: | dijit_form_TimeTextBox_dojo1_5.html added |
---|
dijit.form.TimeTextBox? dojo 1.5
comment:1 Changed 10 years ago by
Owner: | set to Douglas Hays |
---|
comment:2 Changed 10 years ago by
I do see in firebug how _showText() is getting called before postCreate(). Probably what we need is a _setConstraintsAttr() method instead of having that code in postCreate().
comment:3 Changed 10 years ago by
Milestone: | tbd → 1.6 |
---|---|
Status: | new → assigned |
Is this needed in the 1.5 branch?
comment:4 Changed 10 years ago by
comment:7 Changed 10 years ago by
Milestone: | 1.6 → 1.5.1 |
---|
comment:8 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:9 Changed 10 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This is not fixed. I just upgraded to 1.6 and the following increments have no effect.
<input dojoAttachPoint="tbStartTime" name="tbStartTime" type="text"
dojoType="dijit.form.TimeTextBox?" required="true" value="T00:00:00"
visibleIncrement="T00:30:00" clickableIncrement="T00:30:00" />
comment:10 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Please use constraints as already described in this ticket.
comment:11 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
dijit.form.TimeTextBox? dojo 1.4