mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
pattern email validation
This commit is contained in:
parent
123effe9f7
commit
0319d75b40
@ -128,6 +128,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<input
|
<input
|
||||||
type="email"
|
type="email"
|
||||||
|
pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}"
|
||||||
class="is-full input"
|
class="is-full input"
|
||||||
name="search_email"
|
name="search_email"
|
||||||
id="search_email"
|
id="search_email"
|
||||||
|
@ -18,7 +18,13 @@
|
|||||||
<p class="description">
|
<p class="description">
|
||||||
{{ 'owner.email_description' | translate }}
|
{{ 'owner.email_description' | translate }}
|
||||||
</p>
|
</p>
|
||||||
<input class="input" type="email" id="email" formControlName="creatorEmail" />
|
<input
|
||||||
|
class="input"
|
||||||
|
type="email"
|
||||||
|
id="email"
|
||||||
|
formControlName="creatorEmail"
|
||||||
|
pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}"
|
||||||
|
/>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user