https://kotlinlang.org logo
#compose
Title
# compose
y

youssef

03/28/2024, 10:09 AM
for some reason
Copy code
Modifier.menuAnchor()
and
Copy code
KeyboardType.Number
can't work togther anyone found a solution for this? if I use KeyboardType.Text it works fine i can type and all but when its set to .Number it dosent type
Copy code
QrTextField(
    value = query,
    placeholder = "",
    onValueChange = {
        query = it
    },
    keyboardOptions =
        KeyboardOptions.Default.copy(
            keyboardType = KeyboardType.Number,
        ),
    modifier = Modifier.menuAnchor(),
)
6 Views