Opened 7 years ago
Closed 7 years ago
#28882 closed Bug (fixed)
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 )
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 (5)
follow-up: 2 comment:1 by , 7 years ago
comment:2 by , 7 years ago
There is a pull request with unit test.
Version 0, edited 7 years ago by (next)
comment:3 by , 7 years ago
Patch needs improvement: | set |
---|---|
Summary: | Cannot save disabled SplitDateTimeField → Cannot save disabled MultiValueFields |
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
comment:4 by , 7 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
Can you provide a code sample to try this?