Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: disable autocomplete to inputs (#11618)

boojack9017ef2b9e2f
diff --git a/frontend/src/components/DataExportButton.vue b/frontend/src/components/DataExportButton.vue
index fa64d31cc1..930e7bf064 100644
--- a/frontend/src/components/DataExportButton.vue
+++ b/frontend/src/components/DataExportButton.vue
@@ -57,7 +57,7 @@
<BBTextField
v-model:value="formData.password"
type="password"
- :input-props="{ autocomplete: 'off' }"
+ :input-props="{ autocomplete: 'new-password' }"
/>
</NFormItem>
</NForm>
diff --git a/frontend/src/components/IssueV1/components/DataExportSection/ExportOptionSection/ExportPasswordInputer.vue b/frontend/src/components/IssueV1/components/DataExportSection/ExportOptionSection/ExportPasswordInputer.vue
index 6dde272e63..17b79305e4 100644
--- a/frontend/src/components/IssueV1/components/DataExportSection/ExportOptionSection/ExportPasswordInputer.vue
+++ b/frontend/src/components/IssueV1/components/DataExportSection/ExportOptionSection/ExportPasswordInputer.vue
@@ -14,6 +14,7 @@
class="!w-auto"
size="small"
type="password"
+ :input-props="{ autocomplete: 'new-password' }"
:placeholder="$t('common.password')"
/>
</tempalte>
diff --git a/frontend/src/components/User/Settings/CreateUserDrawer.vue b/frontend/src/components/User/Settings/CreateUserDrawer.vue
index 1318e8af63..1123e632c9 100644
--- a/frontend/src/components/User/Settings/CreateUserDrawer.vue
+++ b/frontend/src/components/User/Settings/CreateUserDrawer.vue
@@ -15,7 +15,7 @@
class="w-full mb-4 flex flex-row justify-start items-center"
>
<span class="mr-2 text-sm">{{ $t("common.type") }}</span>
- <NRadioGroup v-model:value="state.user.userType" name="userType">
+ <NRadioGroup v-model:value="state.user.userType">
<NRadio :value="UserType.USER" :label="$t('common.user')" />
<NRadio
:value="UserType.SERVICE_ACCOUNT"
@@ -52,7 +52,7 @@
>
<NInput
v-model:value="state.user.email"
- :input-props="{ type: 'text', autocomplete: 'off' }"
+ :input-props="{ type: 'text', autocomplete: 'new-password' }"
placeholder="foo"
/>
<span class="mt-1 textinfolabel">
@@ -62,7 +62,7 @@
<NInput
v-else
v-model:value="state.user.email"
- :input-props="{ type: 'email', autocomplete: 'off' }"
+ :input-props="{ type: 'email', autocomplete: 'new-password' }"
placeholder="[email protected]"
/>
</NFormItem>
@@ -86,14 +86,18 @@
<NFormItem :label="$t('settings.profile.phone')">
<NInput
v-model:value="state.user.phone"
- :input-props="{ type: 'tel', autocomplete: 'off' }"
+ type="text"
+ :input-props="{
+ type: 'tel',
+ autocomplete: 'new-password',
+ }"
/>
</NFormItem>
<NFormItem :label="$t('settings.profile.password')">
<NInput
v-model:value="state.user.password"
type="password"
- :input-props="{ autocomplete: 'off' }"
+ :input-props="{ autocomplete: 'new-password' }"
:placeholder="$t('common.sensitive-placeholder')"
/>
</NFormItem>
@@ -102,7 +106,7 @@
<NInput
v-model:value="state.passwordConfirm"
type="password"
- :input-props="{ autocomplete: 'off' }"
+ :input-props="{ autocomplete: 'new-password' }"
:placeholder="
$t('settings.profile.password-confirm-placeholder')
"
diff --git a/frontend/src/views/ProfileDashboard.vue b/frontend/src/views/ProfileDashboard.vue
index c37fe839fa..76e6572c0d 100644
--- a/frontend/src/views/ProfileDashboard.vue
+++ b/frontend/src/views/ProfileDashboard.vue
@@ -134,7 +134,7 @@
size="large"
:placeholder="$t('common.sensitive-placeholder')"
:value="state.editingUser?.password"
- :input-props="{ autocomplete: 'off' }"
+ :input-props="{ autocomplete: 'new-password' }"
@update:value="updateUser('password', $event)"
/>
</dd>
@@ -155,7 +155,7 @@
$t('settings.profile.password-confirm-placeholder')
"
:value="state.passwordConfirm"
- :input-props="{ autocomplete: 'off' }"
+ :input-props="{ autocomplete: 'new-password' }"
@update:value="state.passwordConfirm = $event"
/>
</dd>