diff --git a/ui/src/admin/components/influxdb/CreateRoleDialog.tsx b/ui/src/admin/components/influxdb/CreateRoleDialog.tsx index e5b2f61c4..6ed6312fe 100644 --- a/ui/src/admin/components/influxdb/CreateRoleDialog.tsx +++ b/ui/src/admin/components/influxdb/CreateRoleDialog.tsx @@ -51,6 +51,7 @@ const CreateRoleDialog = ({visible, setVisible, create}: Props) => { - - - - +
+ + + setName(e.target.value)} + autoFocus={true} + autoComplete="off" + status={ + validateUserName(name) + ? ComponentStatus.Valid + : ComponentStatus.Default + } + testId="username--input" + /> + + + setPassword(e.target.value)} + autoComplete="off" + testId="password--input" + /> + + +
+ + +
+
+
+