adminizer 4.1.0-build.29 → 4.1.0-build.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,7 +99,7 @@ export class DataAccessor {
99
99
  }
100
100
  }
101
101
  // Set required and type attributes
102
- fldConfig.required = Boolean(fldConfig.required || modelField.required);
102
+ fldConfig.required = Boolean(fldConfig.required ?? modelField.required);
103
103
  // Default type for field. Could be fetched form config file or file model if not defined in config file.
104
104
  fldConfig.type = (fldConfig.type || modelField.type).toLowerCase();
105
105
  // Normalize final configuration
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "adminizer",
3
3
  "type": "module",
4
- "version": "4.1.0-build.29",
4
+ "version": "4.1.0-build.30",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "vitest --reporter verbose",