From eb9a807b8babab9b75ffaee0821c900591014cd1 Mon Sep 17 00:00:00 2001 From: Lainow Date: Mon, 18 May 2026 09:53:53 +0200 Subject: [PATCH 1/2] Fix tree cascade dropdown answer on level 1 --- templates/tree_cascade_dropdown.html.twig | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/tree_cascade_dropdown.html.twig b/templates/tree_cascade_dropdown.html.twig index b2eb1d5..e49b9fb 100644 --- a/templates/tree_cascade_dropdown.html.twig +++ b/templates/tree_cascade_dropdown.html.twig @@ -126,6 +126,7 @@ class="form-select af-tree-cascade-select" aria-label="{{ aria_label }}" data-af-tree-questions-id="{{ question.fields['id'] }}" + data-af-tree-field-name="{{ final_items_id_name }}" data-af-tree-ajax-limit="{{ ajax_limit_count }}" > From d7faf4e73ec0d72d35a34b517cd4ff5ba1ea4062 Mon Sep 17 00:00:00 2001 From: Lainow Date: Mon, 18 May 2026 09:54:51 +0200 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2d348de..def63d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [unreleased] - + +### Fixed + +- Fixed the `Tree cascade Dropdown` field so that it works when it is a required field in single-level responses + ## [1.1.0] - 2026-04-27 ### Add