Skip to content

Commit

Permalink
Update services/ui-src/src/components/fields/DateField.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: benmartin-coforma <126210497+benmartin-coforma@users.noreply.github.com>
  • Loading branch information
angelaco11 and benmartin-coforma authored Dec 9, 2024
1 parent a2ec1f1 commit dacfff2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion services/ui-src/src/components/fields/DateField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 } }
/>
</Box>
);
Expand Down

0 comments on commit dacfff2

Please sign in to comment.