feat(front): autocomplete for different input fields
This commit is contained in:
parent
6b70c11b9c
commit
914a260c75
|
@ -105,6 +105,7 @@ const submit = async () => {
|
||||||
<Input
|
<Input
|
||||||
id="username-field"
|
id="username-field"
|
||||||
ref="username"
|
ref="username"
|
||||||
|
autocomplete="username"
|
||||||
v-model="credentials.username"
|
v-model="credentials.username"
|
||||||
required
|
required
|
||||||
name="username"
|
name="username"
|
||||||
|
@ -123,6 +124,8 @@ const submit = async () => {
|
||||||
</template>
|
</template>
|
||||||
</Input>
|
</Input>
|
||||||
<Input password
|
<Input password
|
||||||
|
name="password-field"
|
||||||
|
autocomplete="current-password"
|
||||||
v-model="credentials.password"
|
v-model="credentials.password"
|
||||||
field-id="password-field"
|
field-id="password-field"
|
||||||
required
|
required
|
||||||
|
|
|
@ -158,6 +158,7 @@ fetchInstanceSettings()
|
||||||
<Input
|
<Input
|
||||||
:label="t('components.auth.SignupForm.label.email')"
|
:label="t('components.auth.SignupForm.label.email')"
|
||||||
id="email-field"
|
id="email-field"
|
||||||
|
autocomplete="email"
|
||||||
ref="email"
|
ref="email"
|
||||||
v-model="payload.email"
|
v-model="payload.email"
|
||||||
name="email"
|
name="email"
|
||||||
|
@ -166,6 +167,7 @@ fetchInstanceSettings()
|
||||||
:placeholder="labels.emailPlaceholder"
|
:placeholder="labels.emailPlaceholder"
|
||||||
/>
|
/>
|
||||||
<Input password
|
<Input password
|
||||||
|
autocomplete="new-password"
|
||||||
:label="t('components.auth.SignupForm.label.password')"
|
:label="t('components.auth.SignupForm.label.password')"
|
||||||
v-model="payload.password1"
|
v-model="payload.password1"
|
||||||
field-id="password-field"
|
field-id="password-field"
|
||||||
|
|
|
@ -95,15 +95,17 @@ const logoUrl = computed(() => store.state.auth.authenticated ? 'library.index'
|
||||||
</Layout>
|
</Layout>
|
||||||
</Layout>
|
</Layout>
|
||||||
<Layout no-gap stack :class="[$style['menu-links'], isCollapsed && 'hide-on-mobile']">
|
<Layout no-gap stack :class="[$style['menu-links'], isCollapsed && 'hide-on-mobile']">
|
||||||
<div :class="$style.search">
|
<form :class="$style.search">
|
||||||
<Input
|
<Input
|
||||||
|
name="search"
|
||||||
v-model="searchQuery"
|
v-model="searchQuery"
|
||||||
raised
|
raised
|
||||||
|
autocomplete="search"
|
||||||
type="search"
|
type="search"
|
||||||
icon="bi-search"
|
icon="bi-search"
|
||||||
:placeholder="t('components.audio.SearchBar.placeholder.search')"
|
:placeholder="t('components.audio.SearchBar.placeholder.search')"
|
||||||
/>
|
/>
|
||||||
</div>
|
</form>
|
||||||
|
|
||||||
<!-- Sign up, Log in -->
|
<!-- Sign up, Log in -->
|
||||||
<div style="display:contents;" v-if="!store.state.auth.authenticated">
|
<div style="display:contents;" v-if="!store.state.auth.authenticated">
|
||||||
|
|
Loading…
Reference in New Issue