parent
28f7e03cab
commit
119d3ef56e
2 changed files with 6 additions and 3 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[versions]
|
||||
compiler = "1.5.1"
|
||||
compose-bom = "2023.09.00-alpha01"
|
||||
accompanist = "0.33.0-alpha"
|
||||
compose-bom = "2023.07.00-alpha02"
|
||||
accompanist = "0.31.5-beta"
|
||||
|
||||
[libraries]
|
||||
activity = "androidx.activity:activity-compose:1.7.2"
|
||||
|
|
|
|||
|
|
@ -232,6 +232,7 @@ fun SelectItem(
|
|||
label = { Text(text = label) },
|
||||
value = options[selectedIndex].toString(),
|
||||
onValueChange = {},
|
||||
enabled = false,
|
||||
readOnly = true,
|
||||
singleLine = true,
|
||||
trailingIcon = {
|
||||
|
|
@ -239,7 +240,9 @@ fun SelectItem(
|
|||
expanded = expanded,
|
||||
)
|
||||
},
|
||||
colors = ExposedDropdownMenuDefaults.textFieldColors(),
|
||||
colors = ExposedDropdownMenuDefaults.textFieldColors(
|
||||
disabledTextColor = MaterialTheme.colorScheme.onSurface,
|
||||
),
|
||||
)
|
||||
|
||||
ExposedDropdownMenu(
|
||||
|
|
|
|||
Loading…
Reference in a new issue