diff --git a/src/client/components/form-window.vue b/src/client/components/form-window.vue index ec30f69bc..a656d64f8 100644 --- a/src/client/components/form-window.vue +++ b/src/client/components/form-window.vue @@ -60,7 +60,7 @@ export default Vue.extend({ created() { for (const item in this.form) { - Vue.set(this.values, item, this.form[item].default || null); + Vue.set(this.values, item, this.form[item].hasOwnProperty('default') ? this.form[item].default : null); } },