ywana-core8 0.0.180 → 0.0.181
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +1 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/ContentEditor.js +1 -1
package/dist/index.cjs
CHANGED
@@ -3031,7 +3031,7 @@ var NumberEditor = function NumberEditor(_ref7) {
|
|
3031
3031
|
if (onChange) onChange(id, value);
|
3032
3032
|
}
|
3033
3033
|
|
3034
|
-
var val = value || field["default"];
|
3034
|
+
var val = value || value === "" ? value : field["default"];
|
3035
3035
|
var min = field.min;
|
3036
3036
|
var max = field.max;
|
3037
3037
|
var disabled = !editable;
|