Commits

Gael Pasgrimaud committed 6e4bf1e

sometimes value is None

Comments (0)

Files changed (1)

formalchemy/fields.py

         return FieldRenderer._serialized_value(self)
 
     def _is_checked(self, choice_value):
-        return _stringify(choice_value) in self._value
+        value = self._value or []
+        return _stringify(choice_value) in value
 
 
 class SelectFieldRenderer(FieldRenderer):