From 4acda94f6aa182b4f228c2edbc1911e072092250 Mon Sep 17 00:00:00 2001 From: soufiane Date: Wed, 31 Jan 2024 13:10:01 +0100 Subject: [PATCH] wait #6698 @0:15 --- app/SubForms/Quiz/Question.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/SubForms/Quiz/Question.php b/app/SubForms/Quiz/Question.php index e5b781208..5de4c379c 100644 --- a/app/SubForms/Quiz/Question.php +++ b/app/SubForms/Quiz/Question.php @@ -55,7 +55,8 @@ class Question extends SubForm $this->addField(['name' => 'count_for_score', 'label' => __('Comptabiliser dans le score'), 'type' => 'Checkbox', - 'default' => true]); + 'when' => ['type' => ['multiple','draganddrop','match']], + 'default' => false]); $this->addField('', FormSeparator::class); -- 2.39.5