Skip to content
Snippets Groups Projects
Commit 08c30ac9 authored by Sandro Lutz's avatar Sandro Lutz
Browse files

Fix issues with event.additional_fields (Fixes #53)

parent 5dcda37e
No related branches found
No related tags found
No related merge requests found
...@@ -71,10 +71,8 @@ export default class newEvent extends EditView { ...@@ -71,10 +71,8 @@ export default class newEvent extends EditView {
type: 'string', type: 'string',
enum: ['Omnivor', 'Vegi', 'Vegan', 'Other'], enum: ['Omnivor', 'Vegi', 'Vegan', 'Other'],
}; };
additionalFields.properties.specialFood = { additionalFields.properties['Special Food Requirements'] = {
'Special Food Requirements': { type: 'string',
type: 'string',
},
}; };
additionalFields.required.push('Food'); additionalFields.required.push('Food');
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment