fix: check field existence before rendering
This commit is contained in:
1 parent
beaccd93e0
commit
66eb392151
1 file changed
+5
-3
@@ -217,9 +217,11 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
<div {{ stimulus_target('select-toggle--parking', 'container') }}>
|
||||
{{ form_row(child.parking) }}
|
||||
</div>
|
||||
{% if child.parking is defined %}
|
||||
<div {{ stimulus_target('select-toggle--parking', 'container') }}>
|
||||
{{ form_row(child.parking) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% if not travelData.additionalServicesMutable %}
|
||||
<div class="absolute inset-0 cursor-not-allowed"></div>
|
||||
|
||||
Reference in new issue
Block a user