From 1484a77ceca5d820db2b1c95360f4ea418da294f Mon Sep 17 00:00:00 2001 From: Matthieu Marcillaud Date: Mon, 22 May 2023 17:57:54 +0200 Subject: [PATCH] =?UTF-8?q?docs:=20Ajout=20d=E2=80=99un=20test=20de=20l?= =?UTF-8?q?=E2=80=99option=20allow-clear?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- formulaires/tester_select2_select_multiple.html | 14 +++++++++++++- formulaires/tester_select2_select_multiple.php | 1 + formulaires/tester_select2_select_unique.html | 12 ++++++++++++ formulaires/tester_select2_select_unique.php | 1 + 4 files changed, 27 insertions(+), 1 deletion(-) diff --git a/formulaires/tester_select2_select_multiple.html b/formulaires/tester_select2_select_multiple.html index d6d3142..c3ffc53 100644 --- a/formulaires/tester_select2_select_multiple.html +++ b/formulaires/tester_select2_select_multiple.html @@ -103,7 +103,7 @@ #SET{id,test_data_list}
-
+ + #SET{id,test_data_allow_clear} +
+ + +
diff --git a/formulaires/tester_select2_select_multiple.php b/formulaires/tester_select2_select_multiple.php index 9e6bcce..1a80dd2 100644 --- a/formulaires/tester_select2_select_multiple.php +++ b/formulaires/tester_select2_select_multiple.php @@ -15,6 +15,7 @@ function formulaires_tester_select2_select_multiple_charger_dist() { 'test_on_enter_submit' => '', 'test_data_list' => '', 'test_data_list_tags' => '', + 'test_data_allow_clear' => '', ]; } diff --git a/formulaires/tester_select2_select_unique.html b/formulaires/tester_select2_select_unique.html index 4873ed1..fa5142e 100644 --- a/formulaires/tester_select2_select_unique.html +++ b/formulaires/tester_select2_select_unique.html @@ -109,6 +109,18 @@ />
+ + #SET{id,test_data_allow_clear} +
+ + +
diff --git a/formulaires/tester_select2_select_unique.php b/formulaires/tester_select2_select_unique.php index e341b40..9169d12 100644 --- a/formulaires/tester_select2_select_unique.php +++ b/formulaires/tester_select2_select_unique.php @@ -14,6 +14,7 @@ function formulaires_tester_select2_select_unique_charger_dist() { 'test_highlight' => '', 'test_on_enter_submit' => '', 'test_data_list' => '', + 'test_data_allow_clear' => '', ]; }