1 like
·
1.0K reads
2 comments
·Apr 19, 2023
Apr 19, 2023
Hay Vincent, i have problem with compose, i have small app like cart, but i need the price is editable in textfield, i try to resolve but still failed, can you give me some insight to do it thanks
1
·
·1 reply
Author
·Apr 20, 2023
I'm not sure if I can help, but something like this will do.
@Composable
fun SimpleFilledTextFieldSample() {
var text by remember { mutableStateOf("Hello") }
TextField(
value = text,
onValueChange = { text = it },
label = { Text("Label") }
)
}
·