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

[HxMultiSelect] Select all synchronisation #639

Merged
merged 7 commits into from
Nov 1, 2023

Conversation

bholbrook
Copy link

@bholbrook bholbrook commented Oct 28, 2023

Summary of changes

As per #638

  • Select all now syncs upon item selection and filter input changes
  • Select all now automatically checks if Value contains all items

Missed code from #617

  • Removed unwanted event callbacks

@bholbrook bholbrook marked this pull request as ready for review October 28, 2023 01:02
@bholbrook
Copy link
Author

@hakenr @crdo Could I please have this reviewed?

Copy link
Member

@hakenr hakenr left a comment

Choose a reason for hiding this comment

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

@bholbrook Oops, sorry, I forgot to submit the review.

@bholbrook
Copy link
Author

@hakenr I've made changes as per your review and am ready for a re-review.

Copy link
Member

@hakenr hakenr left a comment

Choose a reason for hiding this comment

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

@bholbrook I did some final adjustments and will merge to master.

  • simplified the logic (sacrificed some of the perf-optimizations for now)
  • extracted the SynchronizeSelectAllCheckbox() method
  • fixed: ClearIcon did not synchronize the checkbox
    I will probably simplify the SelectedValues synchronization with outer HxMultiSelect then.

Many thanks for your contribution!
We will add additional pre-release the lib today.
We plan to publish the 4.2.5 release later this week.

@hakenr hakenr merged commit d329a89 into havit:master Nov 1, 2023
1 check passed
@hakenr hakenr self-assigned this Nov 1, 2023
@hakenr hakenr linked an issue Nov 1, 2023 that may be closed by this pull request
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.

[HxMultiSelect] synchronize "SelectAll" checkbox with selected items
2 participants