diff --git a/src/frontend/app/indexation/field-list/field-list.component.html b/src/frontend/app/indexation/field-list/field-list.component.html index 2de1338e88c7707fe44e021ece386925d9dda992..3e826f8eb608ed550b1ecd76f34767771258579a 100644 --- a/src/frontend/app/indexation/field-list/field-list.component.html +++ b/src/frontend/app/indexation/field-list/field-list.component.html @@ -13,17 +13,17 @@ <ng-container *ngIf="field.type === 'string'"> <mat-form-field class="input-form" floatLabel="never"> <textarea matInput [placeholder]="lang[field.type + 'Input']" matTextareaAutosize - matAutosizeMinRows="1" cdkAutosizeMaxRows="6"></textarea> + matAutosizeMinRows="1" cdkAutosizeMaxRows="6" disabled></textarea> </mat-form-field> </ng-container> <ng-container *ngIf="field.type === 'integer'"> <mat-form-field class="input-form" floatLabel="never"> - <input type="number" matInput [placeholder]="lang[field.type + 'Input']"> + <input type="number" matInput [placeholder]="lang[field.type + 'Input']" disabled> </mat-form-field> </ng-container> <ng-container *ngIf="field.type === 'select'"> <mat-form-field class="input-form" floatLabel="never"> - <mat-select [placeholder]="lang[field.type + 'Input']"> + <mat-select [placeholder]="lang[field.type + 'Input']" disabled> <mat-option *ngFor="let value of field.values" [value]="value"> {{value}} </mat-option> @@ -33,14 +33,14 @@ <ng-container *ngIf="field.type === 'date'"> <mat-form-field class="input-form" floatLabel="never"> <input matInput [matDatepicker]="picker" [placeholder]="lang[field.type + 'Input']" - (click)="picker.open()"> + (click)="picker.open()" disabled> <mat-datepicker-toggle matSuffix [for]="picker"> </mat-datepicker-toggle> <mat-datepicker #picker></mat-datepicker> </mat-form-field> </ng-container> <ng-container *ngIf="field.type === 'radio'"> - <mat-radio-group class="radio-form" color="primary"> + <mat-radio-group class="radio-form" color="primary" disabled> <mat-radio-button *ngFor="let value of field.values" [value]="value"> {{value}} </mat-radio-button> @@ -48,7 +48,7 @@ </ng-container> <ng-container *ngIf="field.type === 'checkbox'"> <div class="input-form checkbox-form"> - <mat-selection-list #shoes class="div-list"> + <mat-selection-list #shoes class="div-list" disabled> <mat-list-option *ngFor="let value of field.values" [value]="value" checkboxPosition="before"> {{value}} @@ -83,17 +83,17 @@ <ng-container *ngIf="field.type === 'string'"> <mat-form-field class="input-form" floatLabel="never"> <textarea matInput [placeholder]="lang[field.type + 'Input']" matTextareaAutosize - matAutosizeMinRows="1" cdkAutosizeMaxRows="6"></textarea> + matAutosizeMinRows="1" cdkAutosizeMaxRows="6" disabled></textarea> </mat-form-field> </ng-container> <ng-container *ngIf="field.type === 'integer'"> <mat-form-field class="input-form" floatLabel="never"> - <input type="number" matInput [placeholder]="lang[field.type + 'Input']"> + <input type="number" matInput [placeholder]="lang[field.type + 'Input']" disabled> </mat-form-field> </ng-container> <ng-container *ngIf="field.type === 'select'"> <mat-form-field class="input-form" floatLabel="never"> - <mat-select [placeholder]="lang[field.type + 'Input']"> + <mat-select [placeholder]="lang[field.type + 'Input']" disabled> <mat-option *ngFor="let value of field.values" [value]="value"> {{value}} </mat-option> @@ -103,14 +103,14 @@ <ng-container *ngIf="field.type === 'date'"> <mat-form-field class="input-form" floatLabel="never"> <input matInput [matDatepicker]="picker" [placeholder]="lang[field.type + 'Input']" - (click)="picker.open()"> + (click)="picker.open()" disabled> <mat-datepicker-toggle matSuffix [for]="picker"> </mat-datepicker-toggle> <mat-datepicker #picker></mat-datepicker> </mat-form-field> </ng-container> <ng-container *ngIf="field.type === 'radio'"> - <mat-radio-group class="radio-form" color="primary"> + <mat-radio-group class="radio-form" color="primary" disabled> <mat-radio-button *ngFor="let value of field.values" [value]="value"> {{value}} </mat-radio-button> @@ -118,7 +118,7 @@ </ng-container> <ng-container *ngIf="field.type === 'checkbox'"> <div class="input-form checkbox-form"> - <mat-selection-list #shoes class="div-list"> + <mat-selection-list #shoes class="div-list" disabled> <mat-list-option *ngFor="let value of field.values" [value]="value" checkboxPosition="before"> {{value}}