From 25da8f90d9f7f250902be0ad53af028766c93c0c Mon Sep 17 00:00:00 2001 From: Kat Date: Wed, 8 Jun 2022 17:01:17 +0100 Subject: [PATCH] Refactor depends on in the form json to specify the object for the dependency Co-authored-by: baarkerlounger --- config/forms/2021_2022.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index a14ee5955..185f12e9c 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -9,6 +9,20 @@ "setup": { "label": "Set up this lettings log", "pages": { + "organisation": { + "header": "", + "description": "", + "questions": { + "owning_organisation_id": { + "check_answer_label": "Which owning org?", + "header": "Which owning org?", + "hint_text": "", + "type": "select", + "answer_options": "get_all_orgs_answer_options" + } + }, + "derived": true + }, "needs_type": { "header": "", "description": "",