/var/www/vhosts/bsbdokum.com.tr/httpdocs/admin/assets/js/pages/crud/forms/widgets
NameSizeModeActions
autosize.js4780644editdlrm
autosize.min.js1850644editdlrm
bootstrap-datepicker.js33490644editdlrm
bootstrap-datepicker.min.js17340644editdlrm
bootstrap-daterangepicker.js54090644editdlrm
bootstrap-daterangepicker.min.js33240644editdlrm
bootstrap-datetimepicker.js22550644editdlrm
bootstrap-datetimepicker.min.js11850644editdlrm
bootstrap-maxlength.js43630644editdlrm
bootstrap-maxlength.min.js27750644editdlrm
bootstrap-multipleselectsplitter.js4560644editdlrm
bootstrap-multipleselectsplitter.min.js2220644editdlrm
bootstrap-select.js3790644editdlrm
bootstrap-select.min.js1410644editdlrm
bootstrap-switch.js3420644editdlrm
bootstrap-switch.min.js1460644editdlrm
bootstrap-timepicker.js14380644editdlrm
bootstrap-timepicker.min.js7210644editdlrm
bootstrap-touchspin.js31960644editdlrm
bootstrap-touchspin.min.js17000644editdlrm
clipboard.js4900644editdlrm
clipboard.min.js2190644editdlrm
form-repeater.js35600644editdlrm
form-repeater.min.js11380644editdlrm
google-recaptcha.js3910644editdlrm
google-recaptcha.min.js930644editdlrm
input-mask.js21750644editdlrm
input-mask.min.js9210644editdlrm
ion-range-slider.js17630644editdlrm
ion-range-slider.min.js7270644editdlrm
jquery-mask.js15100644editdlrm
jquery-mask.min.js8900644editdlrm
nouislider.js84410644editdlrm
nouislider.min.js37570644editdlrm
select2.js58470644editdlrm
select2.min.js26460644editdlrm
tagify.js250210644editdlrm
tagify.min.js180670644editdlrm
typeahead.js54380644editdlrm
typeahead.min.js27060644editdlrm
Edit: /var/www/vhosts/bsbdokum.com.tr/httpdocs/admin/assets/js/pages/crud/forms/widgets/select2.js (5847B)
// Class definition var KTSelect2 = function() { // Private functions var demos = function() { // basic $('#kt_select2_1, #kt_select2_1_validate').select2({ placeholder: 'Select a state' }); // nested $('#kt_select2_2, #kt_select2_2_validate').select2({ placeholder: 'Select a state' }); // multi select $('#kt_select2_3, #kt_select2_3_validate').select2({ placeholder: 'Select a state', }); // basic $('#kt_select2_4').select2({ placeholder: "Select a state", allowClear: true }); // loading data from array var data = [{ id: 0, text: 'Enhancement' }, { id: 1, text: 'Bug' }, { id: 2, text: 'Duplicate' }, { id: 3, text: 'Invalid' }, { id: 4, text: 'Wontfix' }]; $('#kt_select2_5').select2({ placeholder: "Select a value", data: data }); // loading remote data function formatRepo(repo) { if (repo.loading) return repo.text; var markup = "
" + "
" + "
" + repo.full_name + "
"; if (repo.description) { markup += "
" + repo.description + "
"; } markup += "
" + "
" + repo.forks_count + " Forks
" + "
" + repo.stargazers_count + " Stars
" + "
" + repo.watchers_count + " Watchers
" + "
" + "
"; return markup; } function formatRepoSelection(repo) { return repo.full_name || repo.text; } $("#kt_select2_6").select2({ placeholder: "Search for git repositories", allowClear: true, ajax: { url: "https://api.github.com/search/repositories", dataType: 'json', delay: 250, data: function(params) { return { q: params.term, // search term page: params.page }; }, processResults: function(data, params) { // parse the results into the format expected by Select2 // since we are using custom formatting functions we do not need to // alter the remote JSON data, except to indicate that infinite // scrolling can be used params.page = params.page || 1; return { results: data.items, pagination: { more: (params.page * 30) < data.total_count } }; }, cache: true }, escapeMarkup: function(markup) { return markup; }, // let our custom formatter work minimumInputLength: 1, templateResult: formatRepo, // omitted for brevity, see the source of this page templateSelection: formatRepoSelection // omitted for brevity, see the source of this page }); // custom styles // tagging support $('#kt_select2_12_1, #kt_select2_12_2, #kt_select2_12_3, #kt_select2_12_4').select2({ placeholder: "Select an option", }); // disabled mode $('#kt_select2_7').select2({ placeholder: "Select an option" }); // disabled results $('#kt_select2_8').select2({ placeholder: "Select an option" }); // limiting the number of selections $('#kt_select2_9').select2({ placeholder: "Select an option", maximumSelectionLength: 2 }); // hiding the search box $('#kt_select2_10').select2({ placeholder: "Select an option", minimumResultsForSearch: Infinity }); // tagging support $('#kt_select2_11').select2({ placeholder: "Add a tag", tags: true }); // disabled results $('.kt-select2-general').select2({ placeholder: "Select an option" }); } var modalDemos = function() { $('#kt_select2_modal').on('shown.bs.modal', function () { // basic $('#kt_select2_1_modal').select2({ placeholder: "Select a state" }); // nested $('#kt_select2_2_modal').select2({ placeholder: "Select a state" }); // multi select $('#kt_select2_3_modal').select2({ placeholder: "Select a state", }); // basic $('#kt_select2_4_modal').select2({ placeholder: "Select a state", allowClear: true }); }); } // Public functions return { init: function() { demos(); modalDemos(); } }; }(); // Initialization jQuery(document).ready(function() { KTSelect2.init(); });