Announcement Announcement Module
Collapse
No announcement yet.
dojo decorators, why not all attributes (e.g., constraints) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • dojo decorators, why not all attributes (e.g., constraints)

    Why does the Dojo/Dijit ElementDecoration does not mixin all the provided attributes to the dijit widget? I was trying to set the contraints of a NumberTextBox. Internal it only copies a select set of attributes specified using a copyFields array.

    In addition why is there no constrains attribute on the decorator custom tag?

    I get it to work by using

    Code:
    dijit.byId("personalDetailsForm:no").constraints.min = 10;
    Thanks
Working...
X