From b71ad338e85d0aadb3952abadf75acaecbc2ded7 Mon Sep 17 00:00:00 2001 From: burnettk Date: Thu, 16 Nov 2023 17:00:53 -0500 Subject: [PATCH] turn off autocomplete on date range widget for the love of god --- .../custom_widgets/DateRangePicker/DateRangePickerWidget.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx b/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx index cc4d9e2ab..abf3c52df 100644 --- a/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx +++ b/spiffworkflow-frontend/src/rjsf/custom_widgets/DateRangePicker/DateRangePickerWidget.tsx @@ -99,6 +99,7 @@ export default function DateRangePickerWidget({ helperText={commonAttributes.helperText} type="text" size="md" + autocomplete="off" disabled={disabled || readonly} invalid={commonAttributes.invalid} invalidText={commonAttributes.errorMessageForField} @@ -110,6 +111,7 @@ export default function DateRangePickerWidget({ placeholder={DATE_FORMAT_FOR_DISPLAY} type="text" size="md" + autocomplete="off" disabled={disabled || readonly} invalid={commonAttributes.invalid} autoFocus={autofocus}