Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#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 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [16573]) Fixes #8589. Call widget.attr('value',blah) instead of hacking innerHTML

comment:2 Changed 9 years ago by bill

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