Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

<template>
<AccountPropertySection v-bind.sync="location"
autocomplete="address-level1"
:placeholder="t('settings', 'Your location')" />
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

<template>
<AccountPropertySection v-bind.sync="organisation"
autocomplete="organization"
:placeholder="t('settings', 'Your organisation')" />
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<template>
<AccountPropertySection v-bind.sync="phone"
:placeholder="t('settings', 'Your phone number')"
autocomplete="tel"
type="tel"
:on-validate="onValidate" />
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

<template>
<AccountPropertySection v-bind.sync="role"
autocomplete="organization-title"
:placeholder="t('settings', 'Your role')" />
</template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<template>
<AccountPropertySection v-bind.sync="website"
:placeholder="t('settings', 'Your website')"
autocomplete="url"
type="url"
:on-validate="onValidate" />
</template>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down Expand Up @@ -132,6 +132,10 @@ export default {
type: Function,
default: null,
},
autocomplete: {
type: String,
default: null,
},
},

data() {
Expand Down
4 changes: 2 additions & 2 deletions dist/settings-vue-settings-personal-info.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/settings-vue-settings-personal-info.js.map

Large diffs are not rendered by default.