If I recall correctly the maxlength is set to 256 elsewhere in the code.

In general I am unsure why this is necessary as I would think it could be handled in CSS.