diff --git a/libs/ui/src/lib/input/AmharicDatePicker.tsx b/libs/ui/src/lib/input/AmharicDatePicker.tsx index a9db1b2e4..9423a10a4 100644 --- a/libs/ui/src/lib/input/AmharicDatePicker.tsx +++ b/libs/ui/src/lib/input/AmharicDatePicker.tsx @@ -6,7 +6,10 @@ import { Group, MantineSize, Popover, + SegmentedControl, Select, + Stack, + Text, TextInput, } from '@mantine/core'; import { TimeInput } from '@mantine/dates'; @@ -375,15 +378,21 @@ export function AmharicDatePicker({ formatWireValue(mergeDateTime(selected, undefined, { hours: h24, minutes: m }), dateFormat, true), ); return ( - - ({ value: String(h), label: String(h) }))} - allowDeselect={false} - onChange={(next) => { - if (!next) return; - setTime(fromEthTime(period, Number(next)), minute); - }} - /> - ({ value: String(h), label: String(h) }))} + allowDeselect={false} + w={72} + comboboxProps={{ withinPortal: true }} + onChange={(next) => { + if (!next) return; + setTime(fromEthTime(period, Number(next)), minute); + }} + /> + + : + +