Skip to content
Snippets Groups Projects
Verified Commit fce41b20 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #11269 TIME 0:10 disable input field list

parent 12c60a26
No related branches found
No related tags found
No related merge requests found
......@@ -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}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment