mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Services list in readme and in the doc generator (#2091)
* add services list in readme and in the autogenerator * update tslint 5.5.0
This commit is contained in:
@@ -39,7 +39,7 @@ import { WidgetComponent } from './../widgets/widget.component';
|
||||
declare var adf: any;
|
||||
|
||||
@Component({
|
||||
selector: 'form-field',
|
||||
selector: 'adf-form-field, form-field',
|
||||
template: `
|
||||
<div [hidden]="!field?.isVisible">
|
||||
<div #container></div>
|
||||
@@ -78,7 +78,7 @@ export class FormFieldComponent implements OnInit, OnDestroy {
|
||||
if (componentType) {
|
||||
let factory = this.componentFactoryResolver.resolveComponentFactory(componentType);
|
||||
this.componentRef = this.container.createComponent(factory);
|
||||
let instance = <WidgetComponent>this.componentRef.instance;
|
||||
let instance = <WidgetComponent> this.componentRef.instance;
|
||||
instance.field = this.field;
|
||||
instance.fieldChanged.subscribe(field => {
|
||||
if (field && field.form) {
|
||||
|
Reference in New Issue
Block a user