Textarea has a similar reference to required

Related to pull request #4729
Textarea extension example is using `required` as an example while `required` is now one of the recognised attributes already.