Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a svg icon/ReactNode as dropdownIcon #2212

Closed
MiguelKorn opened this issue Jul 22, 2021 · 1 comment
Closed

Allow a svg icon/ReactNode as dropdownIcon #2212

MiguelKorn opened this issue Jul 22, 2021 · 1 comment

Comments

@MiguelKorn
Copy link

I'm submitting a ... (check one with "x")

[ ] bug report
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior
For the dropdown component it's currently only possible to give a classname so no option to render custom icons/svg's.

Expected behavior
Allow the dropdownIcon prop to accept a ReactNode or another way to add a custom icon as the dropdown trigger.

@MiguelKorn MiguelKorn changed the title Allow an svg icon/ReactNode as dropdownIcon Allow a svg icon/ReactNode as dropdownIcon Jul 22, 2021
@mertsincan
Copy link
Member

Hi,

Fixed in #2397

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants