mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-29 11:23:17 +00:00
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
Block a user