diff --git a/templates/field/dropdownfield.html.twig b/templates/field/dropdownfield.html.twig
index 1c34b3699..13127e163 100644
--- a/templates/field/dropdownfield.html.twig
+++ b/templates/field/dropdownfield.html.twig
@@ -114,7 +114,7 @@
{{ fields.numberField(
'show_tree_depth',
- item.fields['_show_tree_depth'],
+ item.fields['_tree_max_depth'],
__('Limit subtree depth', 'formcreator'), {
label_class: 'col-xxl-4',
input_class: 'col-xxl-8',