DatePickerField

fun DatePickerField(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier)

Displays an editable date field with a calendar date picker.

Users can manually enter a date in yyyy-MM-dd format or select a date using the calendar icon.

Parameters

value

The currently entered date as a string in yyyy-MM-dd format.

onValueChange

Callback invoked when the date changes through manual input or calendar selection.

modifier

Modifier used to customize the appearance and layout of the date field.