diff --git a/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx b/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx index 2a078322785..6d1f4202942 100644 --- a/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/FolderAndGroup.tsx @@ -169,6 +169,7 @@ export function FolderAndGroup({ initialFolder }: FolderAndGroupProps) { inputId="group" key={`my_unique_select_key__${selectedGroup?.title ?? ''}`} {...field} + invalid={Boolean(folder) && !selectedGroup.value} loadOptions={debouncedSearch} loadingMessage={'Loading groups...'} defaultOptions={groupOptions}