From cea96d4b56de3d17f8073356cb498e5dc968d977 Mon Sep 17 00:00:00 2001 From: Shreck Ye Date: Thu, 5 May 2022 17:10:40 +0800 Subject: [PATCH] Fix a bug that the checkbox doesn't toggle in "Code Sample using effects" in tutorials/Web/Using_Effects/README.md (#2014) --- tutorials/Web/Using_Effects/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/Web/Using_Effects/README.md b/tutorials/Web/Using_Effects/README.md index 996cc1f3b4..099bd8792d 100644 --- a/tutorials/Web/Using_Effects/README.md +++ b/tutorials/Web/Using_Effects/README.md @@ -167,7 +167,7 @@ fun main() { Text("Show/hide text rendered by 3rd party library") } - CheckboxInput(checked = false) { + CheckboxInput(checked = showUncontrolledElements) { id("checkbox") onInput { showUncontrolledElements = it.value