make somes changes on model: to manage isVisible field option + others

This commit is contained in:
2021-10-13 15:47:48 +02:00
parent 48f3c440a2
commit b418d13190
9 changed files with 102 additions and 30 deletions

View File

@@ -65,7 +65,7 @@ export default {
}))
},
customLabel(value) {
return `${value.type.title.fr} ${value.name}`;
return `${value.locationType.title.fr} ${value.name}`;
}
}
}

View File

@@ -54,7 +54,10 @@
{{ form_row(edit_form.date) }}
{% endif %}
<div id="location"></div>
{%- if edit_form.location is defined -%}
{{ form_row(edit_form.location) }}
<div id="location"></div>
{% endif %}
{%- if edit_form.durationTime is defined -%}
{{ form_row(edit_form.durationTime) }}

View File

@@ -55,7 +55,10 @@
{{ form_row(form.date) }}
{% endif %}
<div id="location"></div>
{%- if form.location is defined -%}
{{ form_row(form.location) }}
<div id="location"></div>
{% endif %}
{%- if form.durationTime is defined -%}
{{ form_row(form.durationTime) }}