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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.180",
3
+ "version": "0.0.181",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -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