#8589 closed defect (fixed)
themeTester: InlineEditBox/DateTextBox blank on click
Reported by: | haysmark | Owned by: | Douglas Hays |
---|---|---|---|
Priority: | high | Milestone: | 1.3 |
Component: | Dijit - Form | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When you open the InlineEditBox? tab in themeTester, you see a DateTextBox? and a TimeTextBox?. Both appear to have values; however, when you click them to edit the value, the boxes go blank instead of containing the expected text.
This is because the themeTester init scripts set these widgets' innerHTML instead of calling attr('value'), effectively wiping out the InlineEditBox? template.
themeTester should really be calling attr instead. If the InlineEditBox? template ever becomes more complicated, this method of setting the text could cause unexpected results.
Change History (2)
comment:1 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Component: | Dijit → Dijit - Form |
---|
Note: See
TracTickets for help on using
tickets.
(In [16573]) Fixes #8589. Call widget.attr('value',blah) instead of hacking innerHTML