Hi,
I got a problem in casting empty form entry with macaron.IntegerField(null=True)
I solved it by adding just a line in macaron.IntegerField.cast :
class IntegerField(FloatField):
...
def cast(self, value):
if value == None: return None
# added FrViPofm, 2025-12-03
elif value == "" and self.null: return None
return int(value)
Thanks for this nice little tool that i'm using a lot