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

FEAT #12091 TIME 0:05 fix field type

parent 28e26929
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@
{{field.label}}
</div>
<div class="fieldInput">
<ng-container *ngIf="field.type === 'string'">
<ng-container *ngIf="field.type === 'string' || field.type === 'autocomplete'">
<mat-form-field class="input-form" floatLabel="never">
<textarea matInput [placeholder]="lang[field.type + 'Input']" matTextareaAutosize
matAutosizeMinRows="1" cdkAutosizeMaxRows="6" disabled></textarea>
......
......@@ -754,7 +754,6 @@ export class IndexingFormComponent implements OnInit {
initValidator(field: any) {
let valArr: ValidatorFn[] = [];
console.log(field.default_value);
this.arrFormControl[field.identifier] = new FormControl({ value: field.default_value, disabled: (field.today && this.adminMode) ? true : false });
if (field.type === 'integer') {
......
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