File tree Expand file tree Collapse file tree
confiture-web-app/src/pages/audit Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import {
1717} from " ../../enums" ;
1818import { useAuditStore } from " ../../store" ;
1919import { AuditEnvironment , UpdateAuditRequestData } from " ../../types" ;
20- import { formatEmail } from " ../../utils" ;
20+ import { formatEmail , URL_REGEX } from " ../../utils" ;
2121
2222const route = useRoute ();
2323const uniqueId = route .params .uniqueId as string ;
@@ -310,6 +310,8 @@ const isDevMode = useDevMode();
310310 v-model =" procedureUrl"
311311 label =" URL de la page d’accueil du site audité"
312312 type =" url"
313+ :pattern =" URL_REGEX"
314+ title =" https://domaine.fr et sans espaces"
313315 required
314316 >
315317 <template #hint >
@@ -361,6 +363,8 @@ const isDevMode = useDevMode();
361363 label =" Formulaire de contact en ligne"
362364 hint =" Exemple : contact@ministere.gouv.fr"
363365 type =" url"
366+ :pattern =" URL_REGEX"
367+ title =" https://domaine.fr et sans espaces"
364368 placeholder =" https://"
365369 :error ="
366370 hasNoContactInfo
You can’t perform that action at this time.
0 commit comments