Added maxLength handling for editable