null
. By default Grails does not allow null
values for properties.age(nullable:true)
true
if the property allows null
values. This constraint influences schema generation.An empty form field will appear in the request parameters as an empty string, not as null. Keep this in mind when setting domain fields directly form request parametersError Code:
className.propertyName.nullable