frontend: remove minlength validation from participant name input

This commit is contained in:
juancarmore 2025-09-03 16:52:09 +02:00
parent e2d61483f1
commit 2be282e9a0
2 changed files with 1 additions and 4 deletions

View File

@ -240,9 +240,6 @@
required
/>
<mat-icon matSuffix class="ov-action-icon">person</mat-icon>
@if (participantForm.get('name')?.hasError('minlength')) {
<mat-error> The name must be at least <strong>4 characters</strong> </mat-error>
}
@if (participantForm.get('name')?.hasError('required')) {
<mat-error> The name is <strong>required</strong> </mat-error>
}

View File

@ -85,7 +85,7 @@ import { Subject, takeUntil } from 'rxjs';
})
export class MeetingComponent implements OnInit {
participantForm = new FormGroup({
name: new FormControl('', [Validators.required, Validators.minLength(4)])
name: new FormControl('', [Validators.required])
});
hasRecordings = false;