Add missing label to SelectInput
This commit is contained in:
parent
7013d9819f
commit
e872eddeea
1 changed files with 2 additions and 0 deletions
|
@ -18,6 +18,7 @@ fun <T> SelectInput(
|
|||
selectedOption: T,
|
||||
onOptionChange: (T) -> Unit,
|
||||
modifier: Modifier = Modifier,
|
||||
label: String? = null,
|
||||
contentPadding: PaddingValues = inputContentPadding(),
|
||||
) {
|
||||
Column(
|
||||
|
@ -31,6 +32,7 @@ fun <T> SelectInput(
|
|||
selectedOption = selectedOption,
|
||||
onValueChange = onOptionChange,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
label = label,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue