From 747a76481bcb1a4bd66076adbdef59d536f74704 Mon Sep 17 00:00:00 2001 From: Florian Aymard Date: Wed, 9 Dec 2020 09:43:14 +0100 Subject: [PATCH] Changement des checkbox en radio button pour choix unique --- src/js/form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/form.js b/src/js/form.js index 2ed510b8..de19469b 100644 --- a/src/js/form.js +++ b/src/js/form.js @@ -82,7 +82,7 @@ const createReasonField = (reasonData) => { const id = `checkbox-${reasonData.code}` const inputReasonAttrs = { className: 'form-check-input', - type: 'checkbox', + type: 'radio', id, name: 'field-reason', value: reasonData.code,