mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Add autocomplete attrs to input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
This commit is contained in:
parent
2d41f0c064
commit
b54afad28e
10 changed files with 15 additions and 5 deletions
|
|
@ -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" />
|
||||
|
|
|
|||
|
|
@ -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">
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
<template>
|
||||
<AccountPropertySection v-bind.sync="location"
|
||||
autocomplete="address-level1"
|
||||
:placeholder="t('settings', 'Your location')" />
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
<template>
|
||||
<AccountPropertySection v-bind.sync="organisation"
|
||||
autocomplete="organization"
|
||||
:placeholder="t('settings', 'Your organisation')" />
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
<template>
|
||||
<AccountPropertySection v-bind.sync="phone"
|
||||
:placeholder="t('settings', 'Your phone number')"
|
||||
autocomplete="tel"
|
||||
type="tel"
|
||||
:on-validate="onValidate" />
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
<template>
|
||||
<AccountPropertySection v-bind.sync="role"
|
||||
autocomplete="organization-title"
|
||||
:placeholder="t('settings', 'Your role')" />
|
||||
</template>
|
||||
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@
|
|||
<template>
|
||||
<AccountPropertySection v-bind.sync="website"
|
||||
:placeholder="t('settings', 'Your website')"
|
||||
autocomplete="url"
|
||||
type="url"
|
||||
:on-validate="onValidate" />
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -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() {
|
||||
|
|
|
|||
4
dist/settings-vue-settings-personal-info.js
vendored
4
dist/settings-vue-settings-personal-info.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue