]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6698 @0:15
authorsoufiane <soufiane@cubedesigners.com>
Wed, 31 Jan 2024 12:10:01 +0000 (13:10 +0100)
committersoufiane <soufiane@cubedesigners.com>
Wed, 31 Jan 2024 12:10:01 +0000 (13:10 +0100)
app/SubForms/Quiz/Question.php

index e5b78120810cd4fc501b2fe2b35cc787f8565677..5de4c379c375c8afc46d39516a2956926f99a414 100644 (file)
@@ -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);