diff --git a/src/app/components/creator/_dialogs/room-create/room-create.component.html b/src/app/components/creator/_dialogs/room-create/room-create.component.html index 7cadc1b0e3a6ca800456c2b54e0b74ae3d3b65d7..b3e1ce6e59fddc64432aaca9b7f224f71d684957 100644 --- a/src/app/components/creator/_dialogs/room-create/room-create.component.html +++ b/src/app/components/creator/_dialogs/room-create/room-create.component.html @@ -2,9 +2,9 @@ <div fxLayout="column" fxLayoutAlign="center" fxLayoutGap="10px"> <mat-form-field> <input (keypress)="resetEmptyInputs()" matInput #longRoomName class="input-block" type="text" - placeholder="{{ 'session.session-name' | translate}}" maxlength="50" [(ngModel)]="longName" name="roomName"/> + placeholder="{{ 'session.session-name' | translate}}" maxlength="20" [(ngModel)]="longName" name="roomName"/> <mat-hint align="start" *ngIf="!emptyInputs"><strong>{{ 'session.max-ls' | translate}}</strong></mat-hint> - <mat-hint align="end" *ngIf="!emptyInputs">{{longRoomName.value.length}} / 50</mat-hint> + <mat-hint align="end" *ngIf="!emptyInputs">{{longRoomName.value.length}} / 20</mat-hint> <mat-hint align="start" *ngIf="emptyInputs"><strong>{{ 'home-page.no-empty-name' | translate }}</strong></mat-hint> <button mat-button *ngIf="longName" matSuffix mat-icon-button aria-label="Clear" (click)="longName=''"> <mat-icon>close</mat-icon>