3YOURMIND/kotti

Add a prop autosize for KtFieldTextArea to make the height adaptable

Closed this issue · 0 comments

Is your feature request related to a problem? Please describe.
In some pages, we may want to have text areas with adjustable heights.

Describe the solution you'd like
I would like, such as in element ui, a property autosize that tells the component to grow when the number of lines are not sufficient to contain content.
This should work for a max number of lines. When this number of line is reached then the content becomes scrollable.

Describe alternatives you've considered
/

Additional context
This is related to the benefits section in the catalog create page. KtComment behaves in such a way and we would like the inputs of the benefits form to behave the same way.