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/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
@@ -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
|