nelsonchavespro said over 2 years ago on Limiting Text Input :
I love this but not working for me. I tried putting on my text_area and it works but only at 160. I changed the data-text-limiter-limit-value="1000", and it only displays 160. What am I doing wrong?

.form-outline.mb-4{"data-controller" => "text-limiter", "data-text-limiter-limit-value" => "1000"}
  = f.text_area :body, placeholder: "Add your comment", class: "form-control"