Dropdown: Allow function in optionLabel #2667
Unanswered
lukascernydis
asked this question in
PrimeReact
Replies: 1 comment
-
Feel free to open a ticket and submit a PR. |
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
-
Hallo,
I would like to propose a change in Dropdown component, specifically in
optionLabel
signature to allow functions.Currently, if you try to use function for label formating, it is functional, but typescript compiler will complain about
No overload matches this call.
.Beta Was this translation helpful? Give feedback.
All reactions