Browse Source
Merge pull request #15540 from washyn/patch-3
#15539 aded localization languaje for select2 for
pull/15966/head
Enis Necipoglu
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/bootstrap/dom-event-handlers.js
|
|
|
@ -105,6 +105,7 @@ |
|
|
|
$select.select2({ |
|
|
|
ajax: { |
|
|
|
url: url, |
|
|
|
delay: 250, |
|
|
|
dataType: "json", |
|
|
|
data: function (params) { |
|
|
|
let query = {}; |
|
|
|
@ -132,6 +133,7 @@ |
|
|
|
width: '100%', |
|
|
|
dropdownParent: parentSelector ? $(parentSelector) : $('body'), |
|
|
|
allowClear: allowClear, |
|
|
|
language: abp.localization.currentCulture.cultureName, |
|
|
|
placeholder: { |
|
|
|
id: '-1', |
|
|
|
text: placeholder |
|
|
|
|