GrafanaUI: Add required behavior to Inline Field (#54867)

This commit is contained in:
Gustavo Santos
2022-09-12 12:29:23 +01:00
committed by GitHub
parent 28619d7a55
commit 698a4fab26
@@ -37,6 +37,7 @@ export const InlineField: FC<Props> = ({
invalid,
loading,
disabled,
required,
className,
htmlFor,
grow,
@@ -59,7 +60,7 @@ export const InlineField: FC<Props> = ({
htmlFor={inputId}
transparent={transparent}
>
{label}
{`${label}${required ? ' *' : ''}`}
</InlineLabel>
) : (
label