Yes, that is sure the main source of how to resolve this.
But having the maxlength added based on schema and unifying this behavior for text and textarea sounds also useful to me - especially for basic admin backends where not everything is just yet validated to the full extend.