0

I need help to align the label on top of the input field. Please see the reference in the image.

enter image description here

1 Answer 1

2

By default, labels are aligned on top of the inputs.

<lightning-input label="First Name" value={firstName} name="firstName">
</lightning-input>

You must log in to answer this question.

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