Add missing label to SelectInput

This commit is contained in:
Wolf-Martell Montwé 2023-05-24 17:41:10 +02:00
parent 7013d9819f
commit e872eddeea
No known key found for this signature in database
GPG key ID: 6D45B21512ACBF72

View file

@ -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,
)
}
}