Text Area component issues max lines does nothing!

Retool v 3.28.4
Using a text area component.
Checked the Auto Grow with content
Min lines = 1
max lines = 3

It continues past 3 lines - so I do not understand what exactly max lines does?

Please advise

Hey @peter.b! The Max lines field controls the maximum number of lines that are displayed in the app. The 'Auto-grow with content` checkbox would allow the component to grow in the UI without any upper limit, setting this property allows you to set a maximum size of the component. We have docs on that and other textArea properties here!

Hi JOe,
The name is therefore a little confusing - I expected MaxLines to be the maximum number of lines you could physically enter in the text area. They should rename it for clarity :slight_smile:

1 Like