Limiting # of characters in a line-item-property__field text field

Any suggestions on how to limit the number of characters in a text field? looking to limit to 20 characters in the example:

please enter a heading

thanks!

Hi 4cor,

You may want to try the maxlength attribute for input:
https://www.w3schools.com/tags/att_input_maxlength.asp

Thanks,
Lukasz

Appreciate it! We were trying to make a small adjustment and this small item was eluding us.