KeyMultiSelectField

fun KeyMultiSelectField(label: String, keys: List<KeySummary>, selectedIds: Set<Long>, onSelectionChange: (Set<Long>) -> Unit, modifier: Modifier = Modifier, keyFilter: (KeySummary) -> Boolean = { true }, lineFormatter: (KeySummary) -> String = ::formatKeySummaryLine)

Read-only field summarizing selected keys that opens a multi-select picker.

Parameters

selectedIds

The currently selected master key ids.

onSelectionChange

Invoked with the new selection when confirmed.

keyFilter

Restricts which keys are selectable.