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

Option or slot to change the default icon for the NSelect #2201

Closed
leamsigc opened this issue Jan 17, 2022 · 0 comments · Fixed by #2225
Closed

Option or slot to change the default icon for the NSelect #2201

leamsigc opened this issue Jan 17, 2022 · 0 comments · Fixed by #2225

Comments

@leamsigc
Copy link

This function solves the problem (这个功能解决的问题)

Some design need a c custom icon for the Select and currently is no easy way to change the icon to a custom

Expected API (期望的 API)

The best possible way will be to wrap the current icon in the name slot and set the current icon as the default
that way, if the user need to change the icon.
image

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

Successfully merging a pull request may close this issue.

3 participants