Fix issue #8126
Fixed showing minLength and maxLength value in error msg for text TVs

* origin/pr/12112:
  Fix issue #8126