diff --git a/packages/dashboard/src/pages/auth/login.js b/packages/dashboard/src/pages/auth/login.js index 8403bb5c..64d4e732 100644 --- a/packages/dashboard/src/pages/auth/login.js +++ b/packages/dashboard/src/pages/auth/login.js @@ -115,7 +115,7 @@ export default function Login({ flow }) { id={field.name} name={field.name} type={field.type} - autoComplete={fieldProps[field.name]} + autoComplete={field.autoComplete} required={field.required} onChange={formik.handleChange} onBlur={formik.handleBlur} diff --git a/packages/dashboard/src/pages/recovery.js b/packages/dashboard/src/pages/recovery.js index a9383ce3..a1112a97 100644 --- a/packages/dashboard/src/pages/recovery.js +++ b/packages/dashboard/src/pages/recovery.js @@ -96,7 +96,7 @@ export default function Recovery({ flow }) { id={field.name} name={field.name} type={field.type} - autoComplete={fieldProps[field.name]} + autoComplete={field.autoComplete} required={field.required} value={field.value || undefined} className="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-green-500 focus:border-green-500 sm:text-sm"