GrafanaUI: Add required behavior to Inline Field (#54867)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user