aboutsummaryrefslogtreecommitdiff
path: root/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-12-02 10:01:21 +0100
committerRobert Jaros <rjaros@finn.pl>2019-12-02 10:01:21 +0100
commit55b6375d13cf1aea369b522068335ccb0101f7a6 (patch)
treee86336c80c491bd27708f9c5292805201ac2cc2e /kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft
parent9879259fc8ffe71e4dc1df80e3a0711d39961676 (diff)
downloadkvision-55b6375d13cf1aea369b522068335ccb0101f7a6.tar.gz
kvision-55b6375d13cf1aea369b522068335ccb0101f7a6.tar.bz2
kvision-55b6375d13cf1aea369b522068335ccb0101f7a6.zip
Fix select control invalid state
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/form/select/Select.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/Select.kt b/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/Select.kt
index af9e8c86..cd8b5817 100644
--- a/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/Select.kt
+++ b/kvision-modules/kvision-bootstrap-select/src/main/kotlin/pl/treksoft/kvision/form/select/Select.kt
@@ -199,6 +199,7 @@ open class Select(
val cl = super.getSnClass().toMutableList()
if (validatorError != null) {
cl.add("text-danger" to true)
+ cl.add("select-parent" to true)
}
return cl
}