How to wrap multi-line text in a Text Input component?

What are you trying to do?

I’ve added a Text Input component to a page in Plasmic Studio, but I’m unable to get the text to wrap over multiple lines, or insert new lines when the enter key is pressed.

What have you tried so far?

I’ve tried setting the Wrap style on the horizontal stack, and the Line Wrap style on the inner input field, neither of which seem to have any effect.

Relevant links:

1 Like

Try a different component instead of Text Input. Text Area Input from the Ant Design Component wraps the text over multiple lines. Or the Multiline Input.

1 Like

Thanks @puvi . Using the Antd Input Text Area did exactly what I need.