Add maxlength attr