Text area auto expand not working / not growing automatically

0
Dear Mendix community, The last couple of months we have been struggling with expanding text areas that do not grow. I am sharing this as a post here so you will be able to reference the answer for later use. Best regards, Wouter Penris
asked
1 answers
0

The answer is to use a bit of styling: 

  • create a custom sass stylesheet name _text.scss and set it up in custom.scss
  • add the following code:
    textarea.form-control {  
        flex-basis: auto;
    }

    The problem kept us busy for quite some time, so enjoy the solution ;-).

Best regards,
Wouter

 

answered