aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-10-05 15:28:28 +0200
committerRobert Jaros <rjaros@finn.pl>2019-10-05 15:28:28 +0200
commit8427632d0ba7e31e7a0802d2eed7f151ef174a4b (patch)
treed99d1e47034e97132a671952065d1000fdfac2f6 /kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft
parentaeaa30256e49389662c45199cb1b3b201ffe2efe (diff)
downloadkvision-8427632d0ba7e31e7a0802d2eed7f151ef174a4b.tar.gz
kvision-8427632d0ba7e31e7a0802d2eed7f151ef174a4b.tar.bz2
kvision-8427632d0ba7e31e7a0802d2eed7f151ef174a4b.zip
Updated Select form control.
Diffstat (limited to 'kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft')
-rw-r--r--kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/KVManagerSelect.kt5
1 files changed, 5 insertions, 0 deletions
diff --git a/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/KVManagerSelect.kt b/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/KVManagerSelect.kt
index 3617c417..09f92a0d 100644
--- a/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/KVManagerSelect.kt
+++ b/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/KVManagerSelect.kt
@@ -36,6 +36,7 @@ internal object KVManagerSelect {
require("./js/locales/bootstrap-select/bootstrap-select-i18n.min.js")
require("ajax-bootstrap-select/dist/css/ajax-bootstrap-select.min.css")
require("ajax-bootstrap-select/dist/js/ajax-bootstrap-select.min.js")
+ require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.cs-CZ.min.js")
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.de-DE.min.js")
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.es-ES.min.js")
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.fr-FR.min.js")
@@ -46,7 +47,11 @@ internal object KVManagerSelect {
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.pl-PL.min.js")
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.pt-BR.min.js")
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.ru-RU.min.js")
+ require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.sr-SP.min.js")
require("./js/locales/ajax-bootstrap-select/ajax-bootstrap-select.tr-TR.min.js")
+ js("$.fn.selectpicker.Constructor.BootstrapVersion = '4';")
+ js("$.fn.selectpicker.Constructor.DEFAULTS.styleBase = 'form-control';");
+ js("$.fn.selectpicker.Constructor.DEFAULTS.style = '';")
}
internal fun init() {}