fix properties on email inputs
This commit is contained in:
@@ -157,7 +157,16 @@
|
||||
:type="props.type"
|
||||
class="input-control"
|
||||
:disabled="disabled"
|
||||
v-bind="{ id: id, autofocus: props.autofocus }"
|
||||
v-bind="{
|
||||
id: id,
|
||||
autofocus: props.autofocus,
|
||||
autocomplete:
|
||||
props.type === 'email' ? 'email' : null,
|
||||
spellcheck: props.type === 'email' ? false : null,
|
||||
autocorrect: props.type === 'email' ? 'on' : null,
|
||||
autocapitalize:
|
||||
props.type === 'email' ? 'off' : null,
|
||||
}"
|
||||
v-model="value"
|
||||
@focus="handleFocus"
|
||||
@blur="handleBlur"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
Enter your email below to receive a password reset link.
|
||||
</p>
|
||||
<SMForm v-model="form" @submit="handleSubmit">
|
||||
<SMInput control="email" />
|
||||
<SMInput control="email" type="email" autofocus />
|
||||
<SMButtonRow>
|
||||
<template #left>
|
||||
<div class="small">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
</p>
|
||||
</template>
|
||||
<template #body>
|
||||
<SMInput control="email" autofocus> </SMInput>
|
||||
<SMInput control="email" autofocus type="email"> </SMInput>
|
||||
<SMInput control="password" type="password">
|
||||
<router-link to="/forgot-password"
|
||||
>Forgot password?</router-link
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</template>
|
||||
<template #body>
|
||||
<SMFormError v-model="form" />
|
||||
<SMInput control="email" autofocus />
|
||||
<SMInput control="email" autofocus type="email" />
|
||||
<SMInput control="password" type="password" />
|
||||
<SMInput control="display_name" label="Display Name" />
|
||||
</template>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</p>
|
||||
</template>
|
||||
<template #body>
|
||||
<SMInput control="email" />
|
||||
<SMInput control="email" type="email" />
|
||||
</template>
|
||||
<template #footer>
|
||||
<SMButtonRow>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<SMColumn><SMInput control="last_name" /></SMColumn>
|
||||
</SMRow>
|
||||
<SMRow>
|
||||
<SMColumn><SMInput control="email" /></SMColumn>
|
||||
<SMColumn><SMInput control="email" type="email" /></SMColumn>
|
||||
<SMColumn
|
||||
><SMInput control="phone"
|
||||
><template #help
|
||||
|
||||
Reference in New Issue
Block a user