-
I recieving an empty array when im clearing multi-select, but I need to get element name. How can I do it? |
Beta Was this translation helpful? Give feedback.
Answered by
Rall3n
Oct 11, 2021
Replies: 1 comment
-
Hello @fed8055, the <Select
name="test"
onChange={(value, meta) => {
let name = meta.name;
}}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
fed8055
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @fed8055,
the
name
prop is part of the second argument received by theonChange
prop.You can easily access it as follows: