Opened 14 years ago
Closed 14 years ago
#1651 closed defect (fixed)
null values on TextBox widget 'value' property cause display error.
Reported by: | Owned by: | Douglas Hays | |
---|---|---|---|
Priority: | high | Milestone: | 1.0 |
Component: | Widgets | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
var mnameWdgt = dojo.widget.createWidget('textbox',{id:'mname',value:middle_name});
if middle_name is null (the javascript null) then the widget will display:
${this.value}
as the value in the box. I'm not sure what the 'right' behavior is (show nothing or show 'null').
Personally I'd vote for 'show nothing'
Change History (3)
comment:1 Changed 14 years ago by
Milestone: | → 0.6 |
---|
comment:2 Changed 14 years ago by
Owner: | changed from bill to Douglas Hays |
---|
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
(In [7526]) Fixes #1651. Testcase added to tests/form/test_validate.html