Merge pull request #38147 from nextcloud/fix/36945-input_fields_do_not_convey_the_purpose_of_each_field_through_a_language

pull/38214/head
Pytal 2023-05-11 09:34:43 +07:00 committed by GitHub
commit d5588f366b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long