how do I format option labels only? #5317
handhikadj
started this conversation in
General
Replies: 1 comment
-
Update: Solved with the second props, const formatOptionLabel = ({ id, name, post }, { context }) => {
<div> ... </div>
}; |
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
-
formatOptionLabel
will format the control label too. I don't want thisBeta Was this translation helpful? Give feedback.
All reactions