Commit 08faf80c authored by Hermann's avatar Hermann Committed by Sandro Lutz
Browse files

set additional fields to a value that does not fail validation

parent e9e1bdbf
......@@ -27,7 +27,7 @@ export default class newEvent extends EditView {
const copy = JSON.parse(this.form.data.additional_fields);
this.form.data.add_fields_sbb = 'SBB_Abo' in copy.properties;
this.form.data.add_fields_food = 'Food' in copy.properties;
this.form.data.additional_fields = {};
this.form.data.additional_fields = null;
}
// price can either not be set or set to null
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment