Opened 15 years ago

Closed 15 years ago

#1651 closed defect (fixed)

null values on TextBox widget 'value' property cause display error.

Reported by: [email protected] Owned by: Douglas Hays
Priority: high Milestone: 1.0
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:


var mnameWdgt = dojo.widget.createWidget('textbox',{id:'mname',value:middle_name});

if middle_name is null (the javascript null) then the widget will display:


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 15 years ago by bill

Milestone: 0.6

comment:2 Changed 15 years ago by Douglas Hays

Owner: changed from bill to Douglas Hays

comment:3 Changed 15 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [7526]) Fixes #1651. Testcase added to tests/form/test_validate.html

Note: See TracTickets for help on using tickets.