Opened 7 weeks ago

Last modified 3 weeks ago

#35650 assigned New feature

Multi select checkboxes with shift key is not working in TabularInlineAdmin and StackedInlineAdmin — at Version 6

Reported by: tanaydin sirin Owned by: tanaydin sirin
Component: contrib.admin Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by tanaydin sirin)

On any object list, we can select multiple objects by pressing the shift key while clicking the second checkbox, but it's not possible with TabularInline and StackedInlineAdmin ModelAdmin.

Change History (6)

comment:1 by tanaydin sirin, 7 weeks ago

Has patch: set
Last edited 7 weeks ago by tanaydin sirin (previous) (diff)

comment:2 by tanaydin sirin, 7 weeks ago

Version: 5.05.1
Last edited 7 weeks ago by tanaydin sirin (previous) (diff)

comment:3 by Natalia Bidart, 7 weeks ago

Patch needs improvement: set
Triage Stage: UnreviewedAccepted
Version: 5.1dev

Hello tanaydin sirin, thank you for your interest in making Django better. I have reproduced the described issue, and I agree it would be good to allow for shift-selecting in tabular admins just like in the changelist page.

I took a quite look at your PR, and I was thinking that instead of providing new javascript, we should try to re-use/generalize what the changelist page is already using. Could you look into that?

comment:4 by Sarah Boyce, 7 weeks ago

Owner: set to tanaydin sirin
Status: newassigned

in reply to:  3 comment:5 by tanaydin sirin, 4 weeks ago

Hello Natalia Bidart, I've made the changes. Shall I do anything else about ticket?

Replying to Natalia Bidart:

Hello tanaydin sirin, thank you for your interest in making Django better. I have reproduced the described issue, and I agree it would be good to allow for shift-selecting in tabular admins just like in the changelist page.

I took a quite look at your PR, and I was thinking that instead of providing new javascript, we should try to re-use/generalize what the changelist page is already using. Could you look into that?

comment:6 by tanaydin sirin, 4 weeks ago

Description: modified (diff)
Summary: Multi select checkboxes with shift key is not working in TabularInlineAdminMulti select checkboxes with shift key is not working in TabularInlineAdmin and StackedInlineAdmin
Note: See TracTickets for help on using tickets.
Back to Top