Skip to content

Commit 015ad82

Browse files
ccaillycedric-anne
authored andcommitted
fix(forms): null twig template value in item condition handler
1 parent 82930f5 commit 015ad82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/pages/admin/form/condition_handler_templates/item_dropdown.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
{{ fields.dropdownField(
5050
itemtype,
5151
input_name ~ '[items_id]',
52-
input_value.items_id,
52+
input_value.items_id|default(0),
5353
'',
5454
{
5555
'no_label' : true,

0 commit comments

Comments
 (0)