Skip to content

Conversation

@bastianallgeier
Copy link
Member

@bastianallgeier bastianallgeier commented Nov 12, 2025

Changelog

🎉 Features

New batch select mode for the checkboxes field

You can now switch on the select/deselect all toggle with the new batch option in the checkboxes field to select or deselect multiple checkboxes at once. This is helpful when a checkboxes field has a lot of options https://feedback.getkirby.com/81

fields: 
  countries: 
    type: checkboxes
    options: 
      # lots of countries 
    batch: true
checkboxes.mp4
  • New select-all and deselect-all icons
  • New select.all, deselect.all and deselect translation strings

For review team

@distantnative
Copy link
Member

@bastianallgeier have you checked if this will also work with v6/develop given that we refactored the batch feature internally quite a bit there?

@bastianallgeier
Copy link
Member Author

@distantnative it's only introducing the same batch prop. The logic is quite different and a lot more simple because we don't have to switch between modes.

@nilshoerrmann
Copy link
Contributor

Thanks for this fast feature addition! ❤️

Just a quick feedback on the UI:

I looked at the still image before playing the video and neither did I understand that the box in the upper right corner was a checkbox nor did I expect what it was related to. I actually was confused that it was releated to this feature at all. Yes, this is a common interface pattern for interactive tables but usually all checkboxes are aligned in a column in that case. In general, I think this needs labeled buttons and it needs separate buttons for both selecting and deselecting: with a few items selected, I might want to select or deselect all depending on the context.

@bastianallgeier
Copy link
Member Author

@nilshoerrmann you are not wrong. Here's another version.

CleanShot.2025-11-17.at.12.37.55.mp4

@nilshoerrmann
Copy link
Contributor

nilshoerrmann commented Nov 17, 2025

That looks very good. Thanks Bastian!

distantnative
distantnative previously approved these changes Nov 19, 2025
Copy link
Member

@distantnative distantnative left a comment

Choose a reason for hiding this comment

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

Just one small change I think would be safer.

@bastianallgeier bastianallgeier merged commit a6fdf39 into develop-minor Nov 20, 2025
7 checks passed
@bastianallgeier bastianallgeier deleted the feat/select-all branch November 20, 2025 10:28
@afbora
Copy link
Member

afbora commented Nov 20, 2025

Sorry for late joining to the party but I love it ❤️ Looks and works great 🎉

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants