Select - add hasLabel prop in code #883
Labels
💚 contributor issue
Good for contributors
⌨️ dev issue
Task is for developers
good first issue
Good for newcomers
🎓 junior issue
Good for juniors
Milestone
Description / User story
We should add the "hasLabel" prop to the select, which is also used in other form components like Text Input, Text Area, Checkbox or Number Input.
If hasLabel is true, the Label (incl. its bottom padding) should be shown. If hasLabel is false, the Label and its bottom padding is not displayed.
In the props panel in Storybook the "hasLabel" prop also controls of the label or the labelAppendix props are shown (hasLabel=true) or not (hasLabel=false).
Requirements / Prerequisites
Acceptance Criteria
Additional information
Code of Conduct
The text was updated successfully, but these errors were encountered: