I need some help on the below , i am trying to wrap the text in the below lightning input text field <lightning-input


how to wrap the word in the next line , kindly help on this

  • add - class="word-wrap: break-word;"
    – Ysr Shk
    Commented Aug 13, 2020 at 11:50
  • 1
    didn't worked by adding above class
    – Tanya
    Commented Aug 13, 2020 at 12:12

1 Answer 1


The lightning-input does not support the multiline text. you need to use the lightning-textarea

<lightning-textarea name="input1" label="Enter some text" ></lightning-textarea>

Textarea Documentations

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .