setting maxLength also for TextArea