diff --git a/libs/ui/src/lib/input/AmharicDatePicker.tsx b/libs/ui/src/lib/input/AmharicDatePicker.tsx index ee1071712..879cb0b5a 100644 --- a/libs/ui/src/lib/input/AmharicDatePicker.tsx +++ b/libs/ui/src/lib/input/AmharicDatePicker.tsx @@ -293,6 +293,7 @@ export function AmharicDatePicker({ defaultMonth={selected ?? undefined} endMonth={YEAR_DROPDOWN_END} numerals="latn" + captionLayout="dropdowns" formatters={ETH_FORMATTERS} onSelect={(date: Date | undefined) => { onChange?.(date ? formatWireValue(mergeDateTime(selected, date), dateFormat, withTime) : ''); @@ -306,6 +307,7 @@ export function AmharicDatePicker({ selected={selected ?? undefined} defaultMonth={selected ?? undefined} endMonth={YEAR_DROPDOWN_END} + captionLayout="dropdowns" onSelect={(date: Date | undefined) => { onChange?.(date ? formatWireValue(mergeDateTime(selected, date), dateFormat, withTime) : ''); if (!withTime) close();