Commit 9d5505df authored by Walter Molina's avatar Walter Molina

Update frontend/src/app/views/register/create.pasajero/create.pasajero.component.ts

parent 7e1efc35
Pipeline #363 failed with stages
...@@ -24,7 +24,7 @@ export class CreatePasajeroComponent { ...@@ -24,7 +24,7 @@ export class CreatePasajeroComponent {
second_name: new FormControl('', Validators.required), second_name: new FormControl('', Validators.required),
last_name: new FormControl('', Validators.required), last_name: new FormControl('', Validators.required),
phone_number: new FormControl('', [Validators.required, Validators.minLength(9), phone_number: new FormControl('', [Validators.required, Validators.minLength(9),
Validators.maxLength(9)]), Validators.maxLength(9), Validators.pattern("^[0-9]*$")]),
email_address: new FormControl('', [Validators.required, Validators.email]), email_address: new FormControl('', [Validators.required, Validators.email]),
city: new FormControl('', Validators.required), city: new FormControl('', Validators.required),
country: new FormControl('', Validators.required), country: new FormControl('', Validators.required),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment