From 130e04183b2d9898d18fdc14b9048e541bbad583 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 27 Feb 2018 09:31:33 +0100 Subject: Fix refreshing state of text input. --- src/main/kotlin/pl/treksoft/kvision/form/text/AbstractTextInput.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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 -- cgit