Add max length to Text and TextArea type