ywana-core8 0.0.179 → 0.0.180

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.179",
3
+ "version": "0.0.180",
4
4
  "description": "ywana-core8",
5
5
  "author": "Ernesto Roldan Garcia",
6
6
  "license": "MIT",
@@ -177,7 +177,7 @@ export const FieldEditor = ({ field, onChange, content, outlined = false }) => {
177
177
  }
178
178
 
179
179
  function renderField() {
180
- const value1 = field.value ? field.value : field.default
180
+ const value1 = field.value || field.value === "" ? field.value : field.default
181
181
  const isHidden = CHECK['isFunction'](hidden) ? hidden(field, value1) : hidden
182
182
  if (isHidden) {
183
183
  return null