Fixed issue with nested list fields both utilizing the custom key functionality

This commit is contained in:
Djamil Legato
2019-07-08 17:57:04 -07:00
parent 788329c3d2
commit 3e8f4e6e74
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -91,7 +91,7 @@
include 'forms/fields/key/key.html.twig'
with { field: child, value: key }
%}
{% elseif child.key == true %}
{% elseif child.key == true and child.type != 'list' %}
{% include [
"forms/fields/#{child.type}/#{child.type}.html.twig",
'forms/fields/key/key.html.twig'