diff --git a/services/ui-src/src/components/fields/DateField.tsx b/services/ui-src/src/components/fields/DateField.tsx index d5ceff30..36ced899 100644 --- a/services/ui-src/src/components/fields/DateField.tsx +++ b/services/ui-src/src/components/fields/DateField.tsx @@ -53,7 +53,12 @@ export const DateField = (props: PageElementProps) => { value={displayValue} hint={parsedHint} errorMessage={errorMessage} - {...disabled} + /* + * Typescript hack. CmsdsDateField won't recognize + * passthrough props until @cmsgov/design-system^9.0.0 + * TODO: Unhack, to just `disabled={props.disabled}` + */ + {...{ disabled: props.disabled } } /> );