Textfield word wrap

Hello all.
Looking for a way to word wrap text inside a textfield, is it possible ?
Been getting the text just in one line, independent of the height I set the textfield box to, can’t seem to find a way to make it wrap.

Edit 1: Am aware of TextArea, but hitting return doesn’t break the input in textfield, maybe it isn’t supposed to…

TextField is supposed to be a single line text input, and therefore your assumption is correct - it wont wrap.

Can i ask why you would want it? For multiline text inputs isnt TextArea what you would want?


Hi Ian,

Yes, I changed to TextArea for the line break, solves it perfectly.
Was just wondering if I was missing something in TextField that made me not get the line break in it.


1 Like