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

SelectElement: Override existing options in setOptions() #67

Merged
merged 1 commit into from Oct 17, 2022

Conversation

sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Aug 5, 2022

SelectElement::setOptions($opts) call should not add $opts to existing options, but overwrite them completely.

Copy link
Member

@lippserd lippserd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please explain in the commit message (and description) what you are fixing here. Right now it reads like a feature.

@sukhwinder33445 sukhwinder33445 added the bug Something isn't working label Oct 5, 2022
@sukhwinder33445 sukhwinder33445 force-pushed the fix/setOptions-not-overwriting-existing-options branch from d0a0e75 to b47f3b5 Compare October 5, 2022 12:54
`setOptions($opts)` call should not add $opts to existing options, but overwrite them completely.
@sukhwinder33445 sukhwinder33445 force-pushed the fix/setOptions-not-overwriting-existing-options branch from b47f3b5 to 9edeb53 Compare October 10, 2022 11:26
@lippserd lippserd added this to the v0.7.0 milestone Oct 17, 2022
@lippserd lippserd changed the title SelectElement: Overwrite existing option with setOptions() SelectElement: Override existing options in setOptions() Oct 17, 2022
@lippserd lippserd merged commit 761dac6 into master Oct 17, 2022
@lippserd lippserd deleted the fix/setOptions-not-overwriting-existing-options branch October 17, 2022 14:50
@lippserd lippserd changed the title SelectElement: Override existing options in setOptions() SelectElement: Override existing options in setOptions() Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants