Commits

Rob Lanphier committed 25cac74

If enum, then the default value is the first item in the enum

Comments (0)

Files changed (1)

         return self.data['enum']
 
     def get_blank_value(self):
+        if self.is_enum():
+            return self.enum_options()[0]
         type = self.get_type()
         if(self.is_type('object')):
             retval = {}