Remove maxlength from text fields

fix #915