Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
fix: enable password manager autofill for all password fields (#8295)
Tirthh1ed3d5439b47
diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dartindex e898607e8b..1350df3d08 100644--- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart+++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/continue_with_password_page.dart@@ -133,6 +133,7 @@ class _ContinueWithPasswordPageState extends State<ContinueWithPasswordPage> {hintText: LocaleKeys.signIn_enterPassword.tr(),autoFocus: true,obscureText: true,+ autofillHints: const [AutofillHints.password],suffixIconConstraints: BoxConstraints.tightFor(width: iconSize + theme.spacing.m,height: iconSize,diff --git a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/set_new_password.dart b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/set_new_password.dartindex 5a0560e2de..1ba7ea0190 100644--- a/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/set_new_password.dart+++ b/frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/widgets/continue_with/set_new_password.dart@@ -145,6 +145,7 @@ class _SetNewPasswordWidgetState extends State<SetNewPasswordWidget> {key: newPasswordKey,controller: newPasswordController,obscureText: true,+ autofillHints: const [AutofillHints.password],hintText: LocaleKeys.signIn_enterNewPassword.tr(),onSubmitted: (_) => _validateAndSubmit(),),@@ -160,6 +161,7 @@ class _SetNewPasswordWidgetState extends State<SetNewPasswordWidget> {key: confirmPasswordKey,controller: confirmPasswordController,obscureText: true,+ autofillHints: const [AutofillHints.password],hintText: LocaleKeys.signIn_confirmNewPassword.tr(),onSubmitted: (_) => _validateAndSubmit(),),diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/change_password.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/change_password.dartindex 22ff98cf5f..5d12ee3ea0 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/change_password.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/change_password.dart@@ -141,6 +141,7 @@ class _ChangePasswordDialogContentState.tr(),keyboardType: TextInputType.visiblePassword,obscureText: true,+ autofillHints: const [AutofillHints.password],suffixIconConstraints: BoxConstraints.tightFor(width: iconSize + theme.spacing.m,height: iconSize,@@ -173,6 +174,7 @@ class _ChangePasswordDialogContentState.tr(),keyboardType: TextInputType.visiblePassword,obscureText: true,+ autofillHints: const [AutofillHints.password],suffixIconConstraints: BoxConstraints.tightFor(width: iconSize + theme.spacing.m,height: iconSize,@@ -205,6 +207,7 @@ class _ChangePasswordDialogContentState.tr(),keyboardType: TextInputType.visiblePassword,obscureText: true,+ autofillHints: const [AutofillHints.password],suffixIconConstraints: BoxConstraints.tightFor(width: iconSize + theme.spacing.m,height: iconSize,diff --git a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/setup_password.dart b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/setup_password.dartindex 16667d3d63..b7a393dd78 100644--- a/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/setup_password.dart+++ b/frontend/appflowy_flutter/lib/workspace/presentation/settings/pages/account/password/setup_password.dart@@ -136,6 +136,7 @@ class _SetupPasswordDialogContentState.tr(),keyboardType: TextInputType.visiblePassword,obscureText: true,+ autofillHints: const [AutofillHints.password],suffixIconConstraints: BoxConstraints.tightFor(width: iconSize + theme.spacing.m,height: iconSize,@@ -168,6 +169,7 @@ class _SetupPasswordDialogContentState.tr(),keyboardType: TextInputType.visiblePassword,obscureText: true,+ autofillHints: const [AutofillHints.password],suffixIconConstraints: BoxConstraints.tightFor(width: iconSize + theme.spacing.m,height: iconSize,