- Use
- dateSeparator
- instead.
-
-
- Default:
- .
- (dot).
-
-
diff --git a/projects/kit/src/lib/masks/date-range/date-range-mask.ts b/projects/kit/src/lib/masks/date-range/date-range-mask.ts
index 6c5d4bb7a..531104715 100644
--- a/projects/kit/src/lib/masks/date-range/date-range-mask.ts
+++ b/projects/kit/src/lib/masks/date-range/date-range-mask.ts
@@ -13,20 +13,14 @@ import {createSwapDatesPostprocessor} from './processors/swap-dates-postprocesso
export function maskitoDateRangeOptionsGenerator({
mode,
- separator = '.',
min,
max,
minLength,
maxLength,
- dateSeparator = separator,
+ dateSeparator = '.',
rangeSeparator = `${CHAR_NO_BREAK_SPACE}${CHAR_EN_DASH}${CHAR_NO_BREAK_SPACE}`,
}: {
mode: MaskitoDateMode;
- /**
- * @deprecated use `dateSeparator` instead
- * TODO: drop in v2.0
- */
- separator?: string;
min?: Date;
max?: Date;
minLength?: Partial