first commit
This commit is contained in:
commit
b71ea45681
898 changed files with 138202 additions and 0 deletions
1
static/assets/js/forms-selects.js
Normal file
1
static/assets/js/forms-selects.js
Normal file
|
@ -0,0 +1 @@
|
|||
"use strict";$(function(){var e=$(".selectpicker"),t=$(".select2"),n=$(".select2-icons");function i(e){return e.id?"<i class='"+$(e.element).data("icon")+" me-2'></i>"+e.text:e.text}e.length&&e.selectpicker(),t.length&&t.each(function(){var e=$(this);e.wrap('<div class="position-relative"></div>').select2({placeholder:"Select value",dropdownParent:e.parent()})}),n.length&&n.wrap('<div class="position-relative"></div>').select2({dropdownParent:n.parent(),templateResult:i,templateSelection:i,escapeMarkup:function(e){return e}})});
|
Loading…
Add table
Add a link
Reference in a new issue