Topic: How Can I Restrict TextArea to show only in one Row default.

Venky pro asked 5 years ago

Please let us know a way to restrict textarea to show in one row default.

I have tried using rows="1" but it didn't worked.

My requirement is to show one row initially with auto resize, Auto resize option is available but showing in one row is not working for me.

Please help.

Many thanks in advance. Venky

Damian Gemza staff answered 5 years ago

Dear Venky,

For now, it's hard to achieve such functionality (there's a strange problem with setting up static height for selector).

We'll take a look at this problem, so for now, there's no possibility to achieve auto-resizing textarea and 1 row in it.

Best Regards,


Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.4.1
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: No