Update Compose
Also remove workaround for preventing keyboard showing up for SelectItems. (cherry picked from commit efa7a3a167219e9e23ee9b29d9cabe3ca8eb088a)
This commit is contained in:
+1
-4
@@ -232,7 +232,6 @@ fun SelectItem(
|
||||
label = { Text(text = label) },
|
||||
value = options[selectedIndex].toString(),
|
||||
onValueChange = {},
|
||||
enabled = false,
|
||||
readOnly = true,
|
||||
singleLine = true,
|
||||
trailingIcon = {
|
||||
@@ -240,9 +239,7 @@ fun SelectItem(
|
||||
expanded = expanded,
|
||||
)
|
||||
},
|
||||
colors = ExposedDropdownMenuDefaults.textFieldColors(
|
||||
disabledTextColor = MaterialTheme.colorScheme.onSurface,
|
||||
),
|
||||
colors = ExposedDropdownMenuDefaults.textFieldColors(),
|
||||
)
|
||||
|
||||
ExposedDropdownMenu(
|
||||
|
||||
Reference in New Issue
Block a user