Hello,
I have an input widget and I want to have a prompt with multiple lines.
I wrote the text with the NewLine() function and, although the break line appears on the HTML, it doesn't show on the screen.
Prompt:
"Lorem ipsum dolor sit amet, consectetur" + NewLine() + " adipiscing elit, sed do eiusmod tempor inci" + NewLine() + "didunt ut labore et dolore magna aliqua"
HTML:
Input widget on the screen:
I also tried this css:
input[data-input]::placeholder{ word-wrap: break-word; }
Thanks in advance
Hi Filipe,
If you change the input to Text Area? With text area you can do this without any problems.
Regards
Hi Filipa,
I'm not 100% sure, but I think that an input can only have 1 line, only a textarea can have multiple lines inside.
Cheers
PS: Like Paulo said :)