Hi guys, I'm having an issue with a basictextfield...
# compose
l
Hi guys, I'm having an issue with a basictextfield, I have a
text
variable which is being updated as this
var text by remember { mutableStateOf(value) }
but the UI is not being updated, I put some logs and I see that the value of
text
is being changed. Any idea whats up?
h
You should set the value of the
BasicTextField
to the
text
state too. It's like a 2-way binding between the state and the composable.
l
I see, that was it! Thanks
🙂
h
You're welcome 🌹