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/package.json
CHANGED
@@ -271,7 +271,7 @@ const NumberEditor = ({ field, value, onChange, outlined = false }) => {
|
|
271
271
|
if (onChange) onChange(id, value)
|
272
272
|
}
|
273
273
|
|
274
|
-
const val = value || field.default
|
274
|
+
const val = value || value ==="" ? value : field.default
|
275
275
|
const min = field.min
|
276
276
|
const max = field.max
|
277
277
|
const disabled = !editable
|