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