-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAJ de la validation des champs URL (#727)
* update url regex * update dtos for url * remove title attribute on url fields * update changelog
- Loading branch information
1 parent
821fba8
commit 7a477c4
Showing
6 changed files
with
15 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -317,14 +317,13 @@ const isDevMode = useDevMode(); | |
id="procedure-url" | ||
v-model="procedureUrl" | ||
label="URL de la page d’accueil du site audité" | ||
type="url" | ||
type="text" | ||
:pattern="URL_REGEX" | ||
title="https://domaine.fr et sans espaces" | ||
required | ||
> | ||
<template #hint> | ||
Saisissez une url valide, commençant par | ||
<code>https://</code> | ||
Saisissez une URL valide, commençant par | ||
<code>https://</code> ou <code>http://</code> | ||
</template> | ||
</DsfrField> | ||
|
||
|
@@ -370,9 +369,8 @@ const isDevMode = useDevMode(); | |
v-model="contactFormUrl" | ||
label="Formulaire de contact en ligne" | ||
hint="Exemple : [email protected]" | ||
type="url" | ||
type="text" | ||
:pattern="URL_REGEX" | ||
title="https://domaine.fr et sans espaces" | ||
placeholder="https://" | ||
:error=" | ||
hasNoContactInfo | ||
|
@@ -381,8 +379,8 @@ const isDevMode = useDevMode(); | |
" | ||
> | ||
<template #hint> | ||
Saisissez une URL valide, commençant par <code>http://</code> ou | ||
<code>https://</code> | ||
Saisissez une URL valide, commençant par <code>https://</code> ou | ||
<code>http://</code> | ||
</template> | ||
</DsfrField> | ||
</fieldset> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters