diff --git a/ui/src/layout/Login.js b/ui/src/layout/Login.js index cb8164b7c..a197b495b 100644 --- a/ui/src/layout/Login.js +++ b/ui/src/layout/Login.js @@ -138,6 +138,7 @@ const FormLogin = ({ loading, handleSubmit, validate }) => { component={renderInput} label={translate('ra.auth.username')} disabled={loading} + spellCheck={false} />
@@ -201,6 +202,7 @@ const FormSignUp = ({ loading, handleSubmit, validate }) => { component={renderInput} label={translate('ra.auth.username')} disabled={loading} + spellCheck={false} />
diff --git a/ui/src/user/UserCreate.js b/ui/src/user/UserCreate.js index 8a7c32124..5d817dd01 100644 --- a/ui/src/user/UserCreate.js +++ b/ui/src/user/UserCreate.js @@ -51,10 +51,18 @@ const UserCreate = (props) => { return ( } {...props}> - + - - + + diff --git a/ui/src/user/UserEdit.js b/ui/src/user/UserEdit.js index 528ed365b..81883f0ce 100644 --- a/ui/src/user/UserEdit.js +++ b/ui/src/user/UserEdit.js @@ -108,22 +108,32 @@ const UserEdit = (props) => { save={save} > {permissions === 'admin' && ( - + )} - + {(formDataProps) => ( - + )} - {(formDataProps) => } + {(formDataProps) => ( + + )} {permissions === 'admin' && (