Is there a way to hide the characters remaining? This is because we want to limit very long submissions, but not have users feel like this is some kind of ‘target’ count.
This regex will match any string that has at least 1 character and no more than 9 characters, effectively allowing inputs that are less than 10 characters long. I Asked ChatGPT to come up with this pattern, but you can change it to any limit you like.