Skip to content
New issue

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

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

Already on GitHub? # to your account

IBX-5583: Fix multiselect dropdown not firing change event #776

Merged
merged 1 commit into from
May 4, 2023

Conversation

tischsoic
Copy link
Contributor

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-5583
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Fix multi-select dropdown not firing change event for the first option when selected/unselected at least twice in a row

… option when selcted/unselected at least twice in a row
@@ -183,7 +183,7 @@

this.fitItems();

if (this.currentSelectedValue !== value) {
if (this.currentSelectedValue !== value || !this.canSelectOnlyOne) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: for multi-select dropdown, we want to fire the event every single time.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@tomaszszopinski tomaszszopinski left a comment

Choose a reason for hiding this comment

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

QA approved on IbexaDXP 4.5 commerce.

@ciastektk ciastektk merged commit 8c09185 into 4.4 May 4, 2023
@ciastektk ciastektk deleted the ibx-5583-multiple-selection-for-status-filter branch May 4, 2023 13:11
GrabowskiM pushed a commit that referenced this pull request May 8, 2023
IBX-5583: Fix multiselect dropdown not fiering change event for first option when selcted/unselected at least twice in a row
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants