InputDateTime

fun InputDateTime(state: InputDateTimeState, onFocusChanged: (Boolean) -> Unit = {}, onValueChanged: (TextFieldValue?) -> Unit, onNextClicked: () -> Unit? = null, onActionClicked: () -> Unit? = null, modifier: Modifier = Modifier)

DHIS2 Input Date Time Input field to enter date, time or date&time. It will format content based on given visual transformation. component uses Material 3 DatePicker and TimePicker input formats supported are mentioned in the date time input ui model documentation. DatePicker Input mode will always follow locale format.

Parameters

state

: an InputDateTimeState with all the parameters for the input

modifier

: optional modifier.