diff --git a/app/edge/react/components/index.ts b/app/edge/react/components/index.ts index 608fe3a0b..13dbe0f2b 100644 --- a/app/edge/react/components/index.ts +++ b/app/edge/react/components/index.ts @@ -28,6 +28,7 @@ export const componentsModule = angular 'error', 'horizontal', 'isGroupVisible', + 'required', ]) ) .component( diff --git a/app/react/edge/edge-stacks/components/EdgeGroupsSelector.tsx b/app/react/edge/edge-stacks/components/EdgeGroupsSelector.tsx index a8fcacccd..0e01b9514 100644 --- a/app/react/edge/edge-stacks/components/EdgeGroupsSelector.tsx +++ b/app/react/edge/edge-stacks/components/EdgeGroupsSelector.tsx @@ -18,6 +18,7 @@ interface Props { error?: string | string[]; horizontal?: boolean; isGroupVisible?(group: EdgeGroup): boolean; + required?: boolean; } export function EdgeGroupsSelector({ @@ -26,6 +27,7 @@ export function EdgeGroupsSelector({ error, horizontal, isGroupVisible = () => true, + required, }: Props) { const selector = ( + {selector} ) : ( - +
{selector}
{error && (