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

fix: copy all options from group #1

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

lukasnys
Copy link

Why?

In our use case of ember-power-select we add custom properties onto the groups to conditionally render those groups in a different way (in the @groupComponent that we pass to PowerSelectMultiple).

However, because the copyGroup function strips those custom properties, our styling is broken as soon as a user enters a search term.

What?

Change the copyGroup function to include all fields.

PR on cibernox/ember-power-select: cibernox#1843

@lukasnys lukasnys merged commit 27125af into version/7.2.0 Jul 12, 2024
2 checks passed
@ArnaudWeyts ArnaudWeyts deleted the fix-copy-group branch July 22, 2024 13:13
@ArnaudWeyts
Copy link

I've cherry-picked this fix in the upgrade to 8.2.0, see version/8.2.0

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

Successfully merging this pull request may close these issues.

2 participants