Dropdown: allow to set label's class name via the api #4877
Labels
Status: Discussion
Issue or pull request needs to be discussed by Core Team
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: New Feature
Issue contains a new feature or new component request
Describe the feature you would like to see added
Allow to set the class of the dropdown label via the Dropdown api.
Is your feature request related to a problem?
I need to set same padding of the Dropdown component as near buttons to achieve consistent size.
So the Button component allow to pass
p-1
as a className for an example and to have similar behaviour I need to provide custom css to set the dropdown label what is not really comfortable.Describe the solution you'd like
Add the
labelClassName
attribute to set the label's class name currently classed as.p-dropdown-label
.Describe alternatives you have considered
Custom css style to set the dropdown label.
Additional context
No response
The text was updated successfully, but these errors were encountered: