Fabio
03/18/2022, 1:39 PMTextField
to decimal numbers. I just posted a question on StackOverflow with the full details, but I could also post them here if you prefer. The TL;DR is that even if I do not update my state in response to the onValueChange
callback (or if I just set the previous value and ignore the new one), the text I get in the next onValueChange
still includes the changes I rejected.Robert Menke
03/18/2022, 2:55 PMFabio
03/18/2022, 2:57 PMString
or a TextFieldValue
as local remembered state in the composable and getting rid of the view model altogether, and encountered the same or similar resultsBradleycorn
03/18/2022, 3:09 PMBradleycorn
03/18/2022, 3:10 PMBradleycorn
03/18/2022, 3:10 PMFabio
03/18/2022, 3:11 PMBradleycorn
03/18/2022, 3:12 PMBradleycorn
03/18/2022, 3:15 PMFabio
03/18/2022, 3:18 PMRobert Menke
03/18/2022, 3:23 PMFabio
03/18/2022, 5:52 PM1.2.0-alpha05