diff --git a/app/components/PageContent.tsx b/app/components/PageContent.tsx index 696989f82..346120bb7 100644 --- a/app/components/PageContent.tsx +++ b/app/components/PageContent.tsx @@ -33,6 +33,7 @@ import List from "./List"; import TileGroup from "./inputs/TileGroup"; import { renderCheckboxFromStrapi } from "~/services/cms/models/StrapiCheckbox"; import { renderDateInputFromStrapi } from "~/services/cms/models/StrapiDateInput"; +import { renderFileInputFromStrapi } from "~/services/cms/models/StrapiFileInput"; import { renderAlertFromStrapi } from "~/services/cms/models/StrapiAlert"; type PageContentProps = { @@ -88,6 +89,8 @@ function cmsToReact(cms: StrapiContent, templateReplacements: Replacements) { return ; case "form-elements.date-input": return renderDateInputFromStrapi(replacedTemplate); + case "form-elements.file-input": + return renderFileInputFromStrapi(replacedTemplate); case "form-elements.textarea": return