Fixed bug with maxlength not reflected in some widgets.