We have some NOT NULL string fields with a ''::character varying default in our database.
When trying to update a record through ForestAdmin interface, those fields prevent us from saving with a “can’t be blank” message.
Is there a setting to allow those field to be saved with an empty string instead of failing the validation ?
It comes from ForestAdmin’s way of handling null values and empty values the same way. I’ll make a product request to improve this point.
In the meanwhile, dropping (or commenting) the allowNull: false on your model’s definition should let you create and update records flawlessly. It’s not the perfect solution but it will let you work properly while the database will still be able to block null entries and populate the correct empty default value.