Skip to content

[Bug Report][3.8.1] VDataTable shift + click selection don't work on custom scoped slot #21281

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

Closed
rMonell opened this issue Apr 17, 2025 · 2 comments
Labels
C: VDataTable T: bug Functionality that does not work as intended/expected

Comments

@rMonell
Copy link

rMonell commented Apr 17, 2025

Environment

Vuetify Version: 3.8.1
Vue Version: 3.5.13
Browsers: Chrome 135.0.0.0
OS: Windows

Steps to reproduce

  • Create a VDataTable with custom slot for selection checkbox
  • Try to shift + click to select a range of values

Expected Behavior

Range of values should be selected

Actual Behavior

Only the clicked value is selected

Reproduction Link

https://play.vuetifyjs.com/#...

@jcjp jcjp added T: bug Functionality that does not work as intended/expected C: VDataTable labels Apr 19, 2025
@SonTT19
Copy link
Contributor

SonTT19 commented Apr 28, 2025

This works: Playground

@rMonell rMonell changed the title [Bug Report][3.8.2] VDataTable shift + click selection don't work on custom scoped slot [Bug Report][3.8.1] VDataTable shift + click selection don't work on custom scoped slot Apr 28, 2025
@rMonell
Copy link
Author

rMonell commented Apr 28, 2025

This works: Playground

Oh thanks ! It seems the index and event params of toggleSelect methods were not exposed in Vuetify 3.8.1, updates the issue title to avoid confusion.

However, I've found another issue with shift + click selection, it seems that the itemSelectable prop is ignored when deselecting elements, I've opened another problem here (#21328) :)

@rMonell rMonell closed this as completed Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VDataTable T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

3 participants