mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
Fix a bug that the checkbox doesn't toggle in "Code Sample using effects" in tutorials/Web/Using_Effects/README.md (#2014)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user