Vaios Tsitsonis
07/30/2025, 4:18 PMVisualTransformation to affect the new value that was returned from onValueChange? I created a VisualTransformation and added it on a TextField but it seems that when i modify (add or delete) a character on a specific position it may affect character on another position.Zach Klippenstein (he/him) [MOD]
07/30/2025, 4:48 PMVaios Tsitsonis
07/30/2025, 4:52 PMXX XXXX XXX (To be precise this format changes dynamically based on country selection but for now i am testing this format). I have typed 210 and the cursor is on last position. I type the next character. Let’s say it is 9. The expected behavior is for onValueChange to return this value 2109 but it returns 2190. If I remove the VisualTransformation it works as expected, so it seems that somehow it creates the problemZach Klippenstein (he/him) [MOD]
07/30/2025, 5:01 PMInputTransformation and OutputTransformation in the new BasicTextField instead.Vaios Tsitsonis
07/30/2025, 5:07 PMOutlinedTextField and i do not see any way to delegate these values to BasicTextField. Does it have to do with my current compose version?Zach Klippenstein (he/him) [MOD]
07/30/2025, 5:32 PM