Skip to content
Snippets Groups Projects
Commit 8f51dbc5 authored by Alexandru Munteanu's avatar Alexandru Munteanu
Browse files

fix(menu): pass validation status to the Menu default opener

the validation status was missing from the default opener styled component and it caused issues with
validationColor helper from ui-toolkit
parent 5f3f18ef
No related branches found
No related tags found
No related merge requests found
......@@ -336,9 +336,10 @@ const DefaultOpener = ({
placeholder,
optionLabel,
removeSelect,
validationStatus,
selectOneOfMultiElement,
}) => (
<Opener onClick={toggleMenu} open={open}>
<Opener onClick={toggleMenu} open={open} validationStatus={validationStatus}>
{(!selected || selected.length === 0) && (
<Placeholder>{placeholder}</Placeholder>
)}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment