How to change order of the Children in Multi-Select custom ValueContainer? #5013
Unanswered
Wdifulvio523
asked this question in
Q&A
Replies: 1 comment
-
Hello @Wdifulvio523, you can easily achieve this layout by using the styling framework of the <Select
styles={{
input: (provided) => ({
...provided,
order: -1,
flex: 0 // To prevent it from taking up all the space by default
})
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
custom value container renders children, which is split into the selected values and the Input (cursor to type).

I want to be able to reverse this so that the input shows up before the selected values. How can this be done?
Beta Was this translation helpful? Give feedback.
All reactions