mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Fixed dynamic form to make it work after Angular 6 upgrade
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
Input,
|
||||
OnDestroy,
|
||||
OnInit,
|
||||
Output
|
||||
Output, ViewEncapsulation
|
||||
} from '@angular/core';
|
||||
import { AbstractControl, FormArray, FormControl, FormGroup } from '@angular/forms';
|
||||
|
||||
@@ -32,6 +32,7 @@ import { FormEntry, FormError } from './form.reducer';
|
||||
selector: 'ds-form',
|
||||
styleUrls: ['form.component.scss'],
|
||||
templateUrl: 'form.component.html',
|
||||
encapsulation: ViewEncapsulation.Native
|
||||
})
|
||||
export class FormComponent implements OnDestroy, OnInit {
|
||||
|
||||
|
Reference in New Issue
Block a user