Down arrow should not be rendered on SelectControl when multiple = false #28818
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
[Type] Bug
An existing feature does not function as intended
Description
A down arrow / chevron is rendered on all SelectControl components, whether or not the
multiple
property / attribute is set totrue
. It should not be needed whenmultiple:true
because there is no dropdown in this case.Step-by-step reproduction instructions
Create a SelectControl component, and set the
multiple
property to true.Expected behaviour
No down arrow should be rendered.
Actual behaviour
A down arrow is rendered.
Screenshots or screen recording (optional)
Code snippet (optional)
WordPress information
Device information
I created PR #28817 to fix this. (not tested, needs review and testing)
The text was updated successfully, but these errors were encountered: