diff --git a/public/app/features/admin/ldap/LdapDrawer.tsx b/public/app/features/admin/ldap/LdapDrawer.tsx index f5cd65db6ff..eec47a0100d 100644 --- a/public/app/features/admin/ldap/LdapDrawer.tsx +++ b/public/app/features/admin/ldap/LdapDrawer.tsx @@ -1,4 +1,5 @@ import { css } from '@emotion/css'; +import { useId } from 'react'; import { useFormContext } from 'react-hook-form'; import { GrafanaTheme2, SelectableValue } from '@grafana/data'; @@ -31,6 +32,12 @@ export const LdapDrawerComponent = ({ onClose }: Props) => { const styles = useStyles2(getStyles); const { register, setValue, watch } = useFormContext(); + const nameId = useId(); + const surnameId = useId(); + const usernameId = useId(); + const memberOfId = useId(); + const emailId = useId(); + const groupMappingsLabel = (