diff --git a/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx b/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx index 9beb3115..d6be4c36 100644 --- a/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx +++ b/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx @@ -86,8 +86,7 @@ export default function DateRangePickerWidget({ } let dateValue: (Date | null)[] | null = value; - const dateRegex = new RegExp(DATE_RANGE_DELIMITER); - if (value && dateRegex.test(value)) { + if (value) { const [startDateString, endDateString] = value.split(DATE_RANGE_DELIMITER); let startDate = null; let endDate = null;