Hi all, I have made a custom composable for a Sear...
# compose
s
Hi all, I have made a custom composable for a Searchbar that takes as input a
query
and an
onValueChange: (String?) -> Unit
. The idea is that when I have the
onValueChange
with the string as null the UI is different and the TextField is empty, but I get an error when I call my onValueChange inside the clickable of the close icon. The error I get:
java.lang.AssertionError: org.jetbrains.kotlin.ir.expressions.impl.IrCallImpl@63ae5d17: No such type argument slot: 1
j
Looks like a bug. Please file an issue with a minimal repro at https://issuetracker.google.com/issues?q=componentid:612128
s
I also notice a weird issue on alpha-12 regarding BasicTextField with TextFieldValue variant, it doesn't update the first character.