Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength