Opened 12 days ago

Last modified 5 days ago

#28882 new Bug

Cannot save disabled MultiValueFields

Reported by: avalanchy Owned by: nobody
Component: Forms Version: 1.11
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by avalanchy)

I found this on admin panel while trying to save an entry with SplitDateTimeField that was already set and the field was disabled. There is no way to save such entry at all because Django is always displaying an error "Enter list of values." above that field.

Change History (4)

comment:1 Changed 12 days ago by Hrishikesh Barman

Can you provide a code sample to try this?

comment:2 in reply to:  1 Changed 12 days ago by avalanchy

There is a pull request with unit test.

Last edited 12 days ago by Tim Graham (previous) (diff)

comment:3 Changed 12 days ago by Tim Graham

Patch needs improvement: set
Summary: Cannot save disabled SplitDateTimeFieldCannot save disabled MultiValueFields
Triage Stage: UnreviewedAccepted
Type: UncategorizedBug

comment:4 Changed 5 days ago by avalanchy

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top