DateField: replace "Pick" button with a trailing calendar icon
#27
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bug / UX
DateFieldcurrently exposes the date picker via a trailingTextButtonwith the literal label "Pick" (app/src/main/java/dev/achmad/ledgerr/ui/components/DateField.kt:40-44):Expected behavior
The trailing slot should be a tappable calendar icon at the far right of the field, consistent with Material 3 outlined text fields elsewhere in the app. The entire field (including the icon) should open the picker on tap — but minimally the icon must be tappable.
Acceptance criteria
DateField'strailingIconis anIconButton(orIconwrapped in a clickable surface) using aCalendar/CalendarMonth/DateRangeoutlined icon fromandroidx.compose.material.icons.outlined.*.OutlinedTextField.DatePickerDialog.R.string.action_pickstring andTextButtonimport in this file are removed if no longer used.