FilledSelect

expect fun FilledSelect(expandedComposeUi: Boolean, onExpandedChangeComposeUi: (Boolean) -> Unit, valueJsDom: String, modifier: Modifier = Modifier, textFieldArgs: SelectTextFieldArgs, menuArgs: SelectMenuArgs)(source)

Material Design filled select.

This component can be seen as a variant of ExposedDropdownMenuBoxWithTextField with ExposedDropdownMenuBoxTextFieldArgs.readOnly set to true only.

Compared to ExposedDropdownMenuBoxWithTextField, this component provides different implementations on different platforms:

Parameters

valueJsDom

the HTML form key for the md-filled-select element, used internally to identify which option is selected. By convention, it should be a code-like identifier string (no spaces, e.g. "OPTION_A" or "option_a"), NOT a natural-language display string. This is semantically different from SelectTextFieldArgs.valueComposeUi, which is the text shown in the text field (may contain spaces, e.g. "Option A"). Also, it can't be null — the md-filled-select component doesn't react to a null value change on JS DOM.

See also

actual fun FilledSelect(expandedComposeUi: Boolean, onExpandedChangeComposeUi: (Boolean) -> Unit, valueJsDom: String, modifier: Modifier, textFieldArgs: SelectTextFieldArgs, menuArgs: SelectMenuArgs)(source)
actual fun FilledSelect(expandedComposeUi: Boolean, onExpandedChangeComposeUi: (Boolean) -> Unit, valueJsDom: String, modifier: Modifier, textFieldArgs: SelectTextFieldArgs, menuArgs: SelectMenuArgs)(source)

See also