Skip to content
Snippets Groups Projects
Commit 8260fb45 authored by Romin's avatar Romin :eye:
Browse files

Fix "in" field not in project and resource form templates

parent 604e898a
No related branches found
No related tags found
No related merge requests found
......@@ -108,7 +108,9 @@ class FormField:
Preset selection of values - no other value except for these values
can be specified. Think of it as a class defined in the profile.
"""
return self._data["in"]
if "in" in self._data:
return self._data["in"]
return None
###############################################################################
###############################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment