We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f4afbc commit b31da39Copy full SHA for b31da39
netbox/utilities/forms/fields/csv.py
@@ -79,7 +79,8 @@ class CSVModelMultipleChoiceField(forms.ModelMultipleChoiceField):
79
}
80
81
def clean(self, value):
82
- value = value.split(',') if value else []
+ if not isinstance(value, list):
83
+ value = value.split(',') if value else []
84
return super().clean(value)
85
86
0 commit comments