Fix maxlength for manual type set and add textarea maxlength support.
wording
Merge pull request #3476 from dereuromark/2.6-maxlength

2.6 maxlength