diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-02-27 09:31:33 +0100 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-02-27 09:31:33 +0100 |
commit | 130e04183b2d9898d18fdc14b9048e541bbad583 (patch) | |
tree | 2c5495774f8ae2b7c4a6183cf216f6471e80ba55 | |
parent | f0286e72b3d9105f6ebec794f85dca702070c1f5 (diff) | |
download | kvision-130e04183b2d9898d18fdc14b9048e541bbad583.tar.gz kvision-130e04183b2d9898d18fdc14b9048e541bbad583.tar.bz2 kvision-130e04183b2d9898d18fdc14b9048e541bbad583.zip |
Fix refreshing state of text input.
-rw-r--r-- | src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt index 844e30ba..7aa77bdf 100644 --- a/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt +++ b/src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt @@ -126,6 +126,10 @@ abstract class AbstractTextInput( refreshState() } + override fun afterPostpatch(node: VNode) { + refreshState() + } + /** * @suppress * Internal function |