From 1df779e710cc58de0a3bb3606cf3a552b37894c5 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Wed, 21 Aug 2024 10:38:59 +0200 Subject: [PATCH] added * when field is required (#32225) related issue: #26963 Signed-off-by: Erik Jan de Wit --- js/apps/admin-ui/src/components/dynamic/FileComponent.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/apps/admin-ui/src/components/dynamic/FileComponent.tsx b/js/apps/admin-ui/src/components/dynamic/FileComponent.tsx index ccd3420404..aec17e9e42 100644 --- a/js/apps/admin-ui/src/components/dynamic/FileComponent.tsx +++ b/js/apps/admin-ui/src/components/dynamic/FileComponent.tsx @@ -13,6 +13,7 @@ export const FileComponent = ({ label, helpText, defaultValue, + required, isDisabled = false, }: ComponentProps) => { const { t } = useTranslation(); @@ -25,6 +26,7 @@ export const FileComponent = ({ label={t(label!)} labelIcon={} fieldId={name!} + isRequired={required} >