Commits

Adam Venturella committed acd8d4a

fixed issue with values

Comments (0)

Files changed (1)

wtforms/fields/core.py

         :param value: The python object containing the value to process.
         """
         self.data = value
-        self.raw_data = [value]
+
+        if value:
+            self.raw_data = [value]
+        else:
+            self.raw_data = []
 
     def process_formdata(self, valuelist):
         """