InputAge

fun InputAge(state: InputAgeState, onValueChanged: (AgeInputType?) -> Unit, onNextClicked: () -> Unit? = null, modifier: Modifier = Modifier)

DHIS2 Input Age Input field to enter age. It will format content based on given visual transformation. component uses Material 3 DatePicker input formats supported are mentioned in the age input ui model documentation. DatePicker Input mode will always follow locale format.

Parameters

state

: an InputAgeState with all the parameters for the input

modifier

: optional modifier.