diff options
Diffstat (limited to 'src/main/kotlin/pl')
4 files changed, 3 insertions, 4 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt index 4423d2d4..017e7fef 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/AbstractTextInput.kt @@ -64,7 +64,6 @@ abstract class AbstractTextInput(placeholder: String? = null, return cl } - @Suppress("ComplexMethod") override fun getSnAttrs(): List<StringPair> { val sn = super.getSnAttrs().toMutableList() placeholder?.let { diff --git a/src/main/kotlin/pl/treksoft/kvision/form/Text.kt b/src/main/kotlin/pl/treksoft/kvision/form/Text.kt index ce23974d..44cbf0c9 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/Text.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/Text.kt @@ -16,7 +16,7 @@ open class Text(type: TEXTINPUTTYPE = TEXTINPUTTYPE.TEXT, placeholder: String? = input.autocomplete = value } - override final val input: TextInput = TextInput(type, placeholder, value, name, maxlength, disabled, idc) + final override val input: TextInput = TextInput(type, placeholder, value, name, maxlength, disabled, idc) init { this.addInternal(input) diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt b/src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt index 2efa99c9..7cc45971 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/TextArea.kt @@ -20,7 +20,8 @@ open class TextArea(cols: Int? = null, rows: Int? = null, placeholder: String? = input.wrapHard = value } - override final val input: TextAreaInput = TextAreaInput(cols, rows, placeholder, value, name, maxlength, disabled, idc) + final override val input: TextAreaInput = TextAreaInput(cols, rows, placeholder, value, name, maxlength, + disabled, idc) init { this.addInternal(input) diff --git a/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt index 35961285..0b2c69fd 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/TextAreaInput.kt @@ -30,7 +30,6 @@ class TextAreaInput(cols: Int? = null, rows: Int? = null, placeholder: String? = } ?: kvh("textarea") } - @Suppress("ComplexMethod") override fun getSnAttrs(): List<StringPair> { val sn = super.getSnAttrs().toMutableList() cols?.let { |