refactor(demo): Le test clear + ajax mieux nommé et déplacé

Refs: #9
master
Matthieu Marcillaud 2 weeks ago
parent 7112febf46
commit 79b6e4e6c4

@ -68,6 +68,18 @@
</select>
</div>
#SET{id,test_ajax_search_clear}
<div class="editer pleine_largeur">
<label for="#GET{prefix}#GET{id}">Ajax Search + Allow Clear</label>
<select class="select2" name="#GET{id}[]" id="#GET{prefix}#GET{id}" multiple
data-placeholder="Sélectionnez une race de chien..."
data-allow-clear="on"
data-ajax--url="[(#URL_API{select2_autocomplete,demo/dogs}|attribut_html)]"
data-minimum-input-length="1"
/>
</select>
</div>
#SET{id,test_tags}
<div class="editer pleine_largeur">
<label for="#GET{prefix}#GET{id}">Tags</label>
@ -121,17 +133,6 @@
</select>
</div>
#SET{id,test_data_allow_clear}
<div class="editer pleine_largeur">
<label for="#GET{prefix}#GET{id}">Data Allow Clear</label>
<select class="select2" name="#GET{id}[]" id="#GET{prefix}#GET{id}" multiple
data-placeholder="Sélectionnez une race de chien..."
data-allow-clear="on"
data-ajax--url="[(#URL_API{select2_autocomplete,demo/dogs}|attribut_html)]"
data-minimum-input-length="1"
/>
</select>
</div>
</div>
<div class="boutons">

@ -10,12 +10,12 @@ function formulaires_tester_select2_select_multiple_charger_dist() {
'test_sort_alpha' => '',
'test_ajax_search' => '',
'test_ajax_search_more' => '',
'test_ajax_search_clear' => '',
'test_tags' => '',
'test_highlight' => '',
'test_on_enter_submit' => '',
'test_data_list' => '',
'test_data_list_tags' => '',
'test_data_allow_clear' => '',
];
}

@ -68,6 +68,18 @@
</select>
</div>
#SET{id,test_ajax_search_clear}
<div class="editer pleine_largeur">
<label for="#GET{prefix}#GET{id}">Ajax Search + Allow Clear</label>
<select class="select2" name="#GET{id}" id="#GET{prefix}#GET{id}"
data-placeholder="Sélectionnez une race de chien..."
data-allow-clear="on"
data-ajax--url="[(#URL_API{select2_autocomplete,demo/dogs}|attribut_html)]"
data-minimum-input-length="1"
/>
</select>
</div>
#SET{id,test_tags}
<div class="editer pleine_largeur">
<label for="#GET{prefix}#GET{id}">Tags</label>
@ -109,18 +121,6 @@
/>
</select>
</div>
#SET{id,test_data_allow_clear}
<div class="editer pleine_largeur">
<label for="#GET{prefix}#GET{id}">Data Allow Clear</label>
<select class="select2" name="#GET{id}" id="#GET{prefix}#GET{id}"
data-placeholder="Sélectionnez une race de chien..."
data-allow-clear="on"
data-ajax--url="[(#URL_API{select2_autocomplete,demo/dogs}|attribut_html)]"
data-minimum-input-length="1"
/>
</select>
</div>
</div>
<div class="boutons">

@ -10,11 +10,11 @@ function formulaires_tester_select2_select_unique_charger_dist() {
'test_sort_alpha' => '',
'test_ajax_search' => '',
'test_ajax_search_more' => '',
'test_ajax_search_clear' => '',
'test_tags' => '',
'test_highlight' => '',
'test_on_enter_submit' => '',
'test_data_list' => '',
'test_data_allow_clear' => '',
];
}

Loading…
Cancel
Save