From bd5ca4eb07b8b7f6cff1ac8abfb34cfb638076e4 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 5 Nov 2019 10:48:33 +0100 Subject: Fix SelectRemote initialization. Add new option to preload values. --- .../src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft') diff --git a/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt b/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt index 31ae5125..fe574fa7 100644 --- a/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt +++ b/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/SelectInput.kt @@ -351,7 +351,7 @@ open class SelectInput( } @Suppress("UnsafeCastFromDynamic") - private fun refreshState() { + protected open fun refreshState() { if (ajaxOptions == null) { value?.let { if (multiple) { -- cgit