Skip to content
Snippets Groups Projects
Commit dbbaac5d authored by Christoph Schmidt's avatar Christoph Schmidt
Browse files

Fixed allowd_typed of SelectableList

parent 56c8ccd6
No related merge requests found
......@@ -15,7 +15,7 @@ class FieldSelectableList(ch.Field):
def __init__(self, value: ch.SelectableList, friendly_name: str = None, description: str = None):
super().__init__(value, friendly_name, description)
self.view = ch.FieldViewSelectableList(self)
self._allowed_types = (list, [tuple])
self._allowed_types = (int, None)
def get_list(self) -> list:
return list(self._value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment