Add maxlength attribute to textarea fields

Textarea doesn't support a maxlength at the moment; this commit fixes this by adding a maxlength attribute.