This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Composable | |
fun ListWithJustColumn() { | |
Column { | |
(1..5).toList().forEach { number -> | |
var text by remember { mutableStateOf("$number: ") } | |
println(text) // This log is printed for all items even if it is changed for just one time | |
OutlinedTextField(value = text, onValueChange = { text = it }) | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
<style> | |
.w-100 { | |
width: 100% !important; |