Miłosz Bąbliński
Miłosz Bąbliński

Reputation: 169

Vaadin 14 max rows number in textarea

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

Upvotes: 2

Views: 394

Answers (1)

ollitietavainen
ollitietavainen

Reputation: 4275

No, there's no feature like that as of now. You should comment in this GitHub discussion: https://github.com/vaadin/web-components/issues/1399 with your use case and requirements.

Upvotes: 2

Related Questions