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

pull/55025/head^2
Gustavo Santos 3 years ago committed by GitHub
parent 28619d7a55
commit 698a4fab26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/grafana-ui/src/components/Forms/InlineField.tsx

@ -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

Loading…
Cancel
Save