aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2017-11-04 12:56:18 +0100
committerRobert Jaros <rjaros@finn.pl>2017-11-04 12:56:18 +0100
commit2b0f687b17bdf0144262a20556446cfbf50a4f34 (patch)
tree9bad306322cce45654e43794f01e90da2dd935b5 /src/main
parentd7b5638e6dee2081574d6229a6c629a7d50b4bd5 (diff)
downloadkvision-2b0f687b17bdf0144262a20556446cfbf50a4f34.tar.gz
kvision-2b0f687b17bdf0144262a20556446cfbf50a4f34.tar.bz2
kvision-2b0f687b17bdf0144262a20556446cfbf50a4f34.zip
Make some classes non-final
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/SelectOptGroup.kt2
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt2
-rw-r--r--src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/SelectOptGroup.kt b/src/main/kotlin/pl/treksoft/kvision/form/SelectOptGroup.kt
index 41eb951e..513077ef 100644
--- a/src/main/kotlin/pl/treksoft/kvision/form/SelectOptGroup.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/form/SelectOptGroup.kt
@@ -4,7 +4,7 @@ import com.github.snabbdom.VNode
import pl.treksoft.kvision.panel.SimplePanel
import pl.treksoft.kvision.snabbdom.StringPair
-class SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null,
+open class SelectOptGroup(label: String, options: List<StringPair>? = null, maxOptions: Int? = null,
disabled: Boolean = false, classes: Set<String> = setOf()) : SimplePanel(classes) {
var label: String = label
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt
index 9f27bd16..c30d760e 100644
--- a/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt
@@ -3,7 +3,7 @@ package pl.treksoft.kvision.form
import com.github.snabbdom.VNode
import pl.treksoft.kvision.snabbdom.StringPair
-class TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf()) :
+open class TextAreaInput(cols: Int? = null, rows: Int? = null, value: String? = null, classes: Set<String> = setOf()) :
AbstractTextInput(value, classes) {
var cols: Int? = cols
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt
index 7b3510ac..c900fcff 100644
--- a/src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt
+++ b/src/main/kotlin/pl/treksoft/kvision/form/TextInput.kt
@@ -8,7 +8,7 @@ enum class TEXTINPUTTYPE(val type: String) {
PASSWORD("password")
}
-class TextInput(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, classes: Set<String> = setOf()) :
+open class TextInput(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, value: String? = null, classes: Set<String> = setOf()) :
AbstractTextInput(value, classes) {
var type: TEXTINPUTTYPE = type