frontend: remove minlength validation from participant name input
This commit is contained in:
parent
e2d61483f1
commit
2be282e9a0
@ -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>
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user