Remove invalid attribute (#31848) (#31850)

(cherry picked from commit 598a44076a)

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2021-03-10 11:16:30 +02:00
committed by GitHub
co-authored by Alex Khomenko
parent 0be2177d15
commit 6623706336
+1 -1
View File
@@ -71,7 +71,7 @@ export const UserInviteForm: FC<Props> = ({ updateLocation }) => {
<Field invalid={!!errors.role} label="Role">
<InputControl as={RadioButtonGroup} control={control} options={roles} name="role" />
</Field>
<Field invalid={!!errors.sendEmail} label="Send invite email">
<Field label="Send invite email">
<Switch name="sendEmail" ref={register} />
</Field>
<HorizontalGroup>