Ticket #5221 (closed task: fixed)

Opened 8 months ago

Last modified 8 months ago

InLineEditBox.setDisabled method dont work in 1.0

Reported by: guest Owned by:
Priority: normal Milestone: 1.1
Component: Dijit Version: 1.0
Severity: major Keywords: InLineEditBox setDisabled
Cc: ronnyxx@…

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

Changed 8 months 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

Changed 8 months ago by dante

  • priority changed from high to normal
  • owner deleted
  • component changed from General to Dijit
  • milestone set to 1.1

Changed 8 months ago by bill

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.