Commits

Mark Lavin committed ae1c761

Multiple select should return an iterable even on the empty case. Fixes #51. Thanks Raoul Thill for the report.

Comments (0)

Files changed (1)

selectable/forms/fields.py

 
     def to_python(self, value):
         if value in EMPTY_VALUES:
-            return None
+            return []
         lookup = self.lookup_class()
         items = []
         for v in value: