diff --git a/projects/kit/src/lib/masks/time/time-mask.ts b/projects/kit/src/lib/masks/time/time-mask.ts index f7f88b317..4bdb098c9 100644 --- a/projects/kit/src/lib/masks/time/time-mask.ts +++ b/projects/kit/src/lib/masks/time/time-mask.ts @@ -15,7 +15,7 @@ export function maskitoTimeOptionsGenerator({ mode, timeSegmentMaxValues = {}, step = 0, -}: MaskitoTimeOptions): Required { +}: MaskitoTimeOptions): Required { const enrichedTimeSegmentMaxValues = { ...DEFAULT_TIME_SEGMENT_MAX_VALUES, ...timeSegmentMaxValues, @@ -40,5 +40,8 @@ export function maskitoTimeOptionsGenerator({ }), ], overwriteMode: 'replace', + mode, + timeSegmentMaxValues: enrichedTimeSegmentMaxValues, + step, }; }