diff options
Diffstat (limited to 'apps/settings')
8 files changed, 12 insertions, 2 deletions
diff --git a/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue b/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue index c5517140cd2..b88f52e0df4 100644 --- a/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue +++ b/apps/settings/src/components/PersonalInfo/DisplayNameSection.vue @@ -23,6 +23,7 @@ <template> <AccountPropertySection v-bind.sync="displayName" :placeholder="t('settings', 'Your full name')" + autocomplete="username" :is-editable="displayNameChangeSupported" :on-validate="onValidate" :on-save="onSave" /> diff --git a/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue b/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue index 5fb59d3d797..43e7d3d63ee 100644 --- a/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue +++ b/apps/settings/src/components/PersonalInfo/EmailSection/Email.vue @@ -26,11 +26,11 @@ <input :id="inputId" ref="email" type="email" + autocomplete="email" :placeholder="inputPlaceholder" :value="email" :aria-describedby="helperText ? `${inputId}-helper-text` : ''" autocapitalize="none" - autocomplete="on" autocorrect="off" @input="onEmailChange"> diff --git a/apps/settings/src/components/PersonalInfo/LocationSection.vue b/apps/settings/src/components/PersonalInfo/LocationSection.vue index e75075b6d1e..ceef7c432cd 100644 --- a/apps/settings/src/components/PersonalInfo/LocationSection.vue +++ b/apps/settings/src/components/PersonalInfo/LocationSection.vue @@ -22,6 +22,7 @@ <template> <AccountPropertySection v-bind.sync="location" + autocomplete="address-level1" :placeholder="t('settings', 'Your location')" /> </template> diff --git a/apps/settings/src/components/PersonalInfo/OrganisationSection.vue b/apps/settings/src/components/PersonalInfo/OrganisationSection.vue index 7a85d2fd647..b8ae3d846e5 100644 --- a/apps/settings/src/components/PersonalInfo/OrganisationSection.vue +++ b/apps/settings/src/components/PersonalInfo/OrganisationSection.vue @@ -22,6 +22,7 @@ <template> <AccountPropertySection v-bind.sync="organisation" + autocomplete="organization" :placeholder="t('settings', 'Your organisation')" /> </template> diff --git a/apps/settings/src/components/PersonalInfo/PhoneSection.vue b/apps/settings/src/components/PersonalInfo/PhoneSection.vue index ddb5cf33cff..3a156bd9403 100644 --- a/apps/settings/src/components/PersonalInfo/PhoneSection.vue +++ b/apps/settings/src/components/PersonalInfo/PhoneSection.vue @@ -23,6 +23,7 @@ <template> <AccountPropertySection v-bind.sync="phone" :placeholder="t('settings', 'Your phone number')" + autocomplete="tel" type="tel" :on-validate="onValidate" /> </template> diff --git a/apps/settings/src/components/PersonalInfo/RoleSection.vue b/apps/settings/src/components/PersonalInfo/RoleSection.vue index ab9b9c910fe..82cb034600d 100644 --- a/apps/settings/src/components/PersonalInfo/RoleSection.vue +++ b/apps/settings/src/components/PersonalInfo/RoleSection.vue @@ -22,6 +22,7 @@ <template> <AccountPropertySection v-bind.sync="role" + autocomplete="organization-title" :placeholder="t('settings', 'Your role')" /> </template> diff --git a/apps/settings/src/components/PersonalInfo/WebsiteSection.vue b/apps/settings/src/components/PersonalInfo/WebsiteSection.vue index 1b8d9e6815d..79e7a90de00 100644 --- a/apps/settings/src/components/PersonalInfo/WebsiteSection.vue +++ b/apps/settings/src/components/PersonalInfo/WebsiteSection.vue @@ -23,6 +23,7 @@ <template> <AccountPropertySection v-bind.sync="website" :placeholder="t('settings', 'Your website')" + autocomplete="url" type="url" :on-validate="onValidate" /> </template> diff --git a/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue b/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue index 4da187e2b67..2329cf123f5 100644 --- a/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue +++ b/apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue @@ -45,8 +45,8 @@ :value="value" :aria-describedby="helperText ? `${name}-helper-text` : ''" autocapitalize="none" - autocomplete="on" autocorrect="off" + :autocomplete="autocomplete" @input="onPropertyChange"> <div class="property__actions-container"> @@ -132,6 +132,10 @@ export default { type: Function, default: null, }, + autocomplete: { + type: String, + default: null, + }, }, data() { |