To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 08c30ac9 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix issues with event.additional_fields (Fixes #53)

parent 5dcda37e
......@@ -71,10 +71,8 @@ export default class newEvent extends EditView {
type: 'string',
enum: ['Omnivor', 'Vegi', 'Vegan', 'Other'],
};
additionalFields.properties.specialFood = {
'Special Food Requirements': {
type: 'string',
},
additionalFields.properties['Special Food Requirements'] = {
type: 'string',
};
additionalFields.required.push('Food');
}
......
Markdown is supported
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