mirror of https://github.com/jumpserver/jumpserver
parent
5fcd83b587
commit
d78725f7c5
|
@ -66,7 +66,7 @@ class LabeledChoiceField(ChoiceField):
|
|||
|
||||
def to_internal_value(self, data):
|
||||
if isinstance(data, dict):
|
||||
return data.get("value")
|
||||
data = data.get("value")
|
||||
return super(LabeledChoiceField, self).to_internal_value(data)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue