diff --git a/src/Form/QuestionType/QuestionTypeUrgency.php b/src/Form/QuestionType/QuestionTypeUrgency.php index b58fa163a6b..61c2f605fe1 100644 --- a/src/Form/QuestionType/QuestionTypeUrgency.php +++ b/src/Form/QuestionType/QuestionTypeUrgency.php @@ -47,6 +47,12 @@ public function __construct() { } + #[Override] + public static function loadJavascriptFiles(): array + { + return []; + } + #[Override] public static function formatDefaultValueForDB(mixed $value): ?string { @@ -59,6 +65,12 @@ public static function validateExtraDataInput(array $input): bool return empty($input); // No extra data for this question type } + #[Override] + public static function prepareExtraData(array $input): array + { + return $input; // No need to prepare the extra data + } + /** * Retrieve the default value for the urgency question type *