Opened 12 years ago

Closed 12 years ago

#5221 closed task (fixed)

InLineEditBox.setDisabled method dont work in 1.0

Reported by: guest Owned by:
Priority: high Milestone: 1.1
Component: Dijit Version: 1.0
Keywords: InLineEditBox setDisabled Cc: ronnyxx@…
Blocked By: Blocking:

Description

in 0.9 I was used the setDisabled(true/false) method from InlineEditBox?. (dojo.require("dijit.form.InLineEditBox?"))

Now I want to use the same method in 1.0 but dont work. (dojo.require("dijit.InLineEditBox?"))

you can see that in your test path http://archive.dojotoolkit.org/nightly/dojotoolkit/dijit/tests/test_InlineEditBox.html

Try to use your disabled link and it will fails.

Change History (3)

comment:1 Changed 12 years ago by guest

I found a solution
You can replace the method dijit.byId("ieb1").setDisabled(true) by:

dijit.byId("ieb1").disabled=true

and the method dijit.byId("ieb1").setValue(value1) by:

dijit.byId("ieb1")._setDisplayValue(value1);
dijit.byId("ieb1").value=value1;


ronny

comment:2 Changed 12 years ago by dante

Component: GeneralDijit
Milestone: 1.1
Owner: anonymous deleted
Priority: highnormal

comment:3 Changed 12 years ago by bill

Resolution: fixed
Status: newclosed

(In [11689]) Make setDisabled() work for InlineEditBox?. Fixes #5221.

Note: See TracTickets for help on using tickets.