Gets maxlength of textarea from ui