Add a setting for the maxTextLen