InputDialog

fun InputDialog(input: @Composable () -> Unit, details: @Composable ColumnScope.() -> Unit? = null, actionButton: @Composable () -> Unit, onDismiss: () -> Unit, modifier: Modifier = Modifier)

DHIS2 Expandable Input Shell is a component designed to contain an Input with additional details that will be shown bellow the component. To ensure that the keyboard does not cover the component in android devices android:windowSoftInputMode="adjustResize" must be enabled at the activity level in the android manifest.

Parameters

input

: is a lambda that contains the input component.

details

: is a lambda that contains the details component.

actionButton

: is a lambda that contains the action button component.

onDismiss

: is a lambda that contains the dismiss event.

modifier

: allows a modifier to be passed externally.