All of our input components support a label attribute and a label-hidden boolean attribute to hide it. This component only has a label attribute, but it's always hidden.
To align this component with the others, a label-hidden attribute should be added and the label should be made visible by default. The styles for the label can be imported from core.
Since this will be a breaking change, a code search should be performed to find the places using the uploader (currently only 2) and switch them to specify the label-hidden attribute.
All of our input components support a
label
attribute and alabel-hidden
boolean attribute to hide it. This component only has alabel
attribute, but it's always hidden.To align this component with the others, a
label-hidden
attribute should be added and the label should be made visible by default. The styles for the label can be imported from core.Example of
<d2l-input-text>
's label: https://github.com/BrightspaceUI/core/blob/master/components/inputs/input-text.js#L320Since this will be a breaking change, a code search should be performed to find the places using the uploader (currently only 2) and switch them to specify the
label-hidden
attribute.