Vaadin 14 max rows number in textarea

Viewed 180

Is there any option to set max rows/height of textarea and when it would exceed it then component will stop getting new characters like in maxLength? i dont want the scrollbar to show up. I cant use maxLength couse when i`m adding new lines by pressing Enter then text area can exceed max rows.

enter image description here

1 Answers
Related