mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #20781 -- Fixed _has_changed regression with MultiValueField
Thanks Tim Graham for the report.
This commit is contained in:
@@ -1025,7 +1025,7 @@ class MultiValueField(Field):
|
||||
if not isinstance(initial, list):
|
||||
initial = self.widget.decompress(initial)
|
||||
for field, initial, data in zip(self.fields, initial, data):
|
||||
if field._has_changed(initial, data):
|
||||
if field._has_changed(field.to_python(initial), data):
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user