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>
|
||||
<input
|
||||
type="email"
|
||||
pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}"
|
||||
class="is-full input"
|
||||
name="search_email"
|
||||
id="search_email"
|
||||
|
@ -18,7 +18,13 @@
|
||||
<p class="description">
|
||||
{{ 'owner.email_description' | translate }}
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user