You need to sign in to do that
Don't have an account?
JasonG
Why is the label attribute required on the lightning:input?
Why is the label attribute required on the lightning:input? Is there a way to just use the placeholder instead of a label? What if I want the label to be the size of of a header? Just curious why this label is required when It can really affect design?
Raj Vakati
You can use placeholder as shown below. As per the specification, the label is required. You can write your own CSS to hide the label and show the only placeholder