Bug fix maxlength on default value for text control