Setting a defaultValue of 0 in grid-config of an integer field has not effect. At create form, the field stays blank which causes a 'cannot be null' error while saving.
Workaround: setting 'attributes' => array('value' => 0) in grid-config of integer field works as expected.
Setting a defaultValue of 0 in grid-config of an integer field has not effect. At create form, the field stays blank which causes a 'cannot be null' error while saving.
Workaround: setting 'attributes' => array('value' => 0) in grid-config of integer field works as expected.