Set minimum height for text area widget grow automatically - Mendix Forum

Set minimum height for text area widget grow automatically

10

When you currently set a text-area widget to grow automatically, it always shows as minimal 2 lines high and then grows larger when needed. The height of the text-area is set with javascript on the element in CSS and therefore difficult to overrule.

 

The idea is to have the option to set the number of lines when you set grow automatically on yes.

 

In my case for example, I would like to be able to set a text-area to 1 line high and then grow larger when necessary (when the text in the text-area grows to multiple lines).

 

asked
1 answers

Very good idea! 
I had this same issue and found a workaround using JS. But it would certainly be better to have this build into the widget!

See for the JS workaround here.

Created