File

src/lib/dynamic-form-field/dynamic-form-control-errors/dynamic-form-control-errors.component.ts

Extends

DynamicFormControlWrapperBase

Metadata

Constructor

constructor(containerRef: ViewContainerRef, validationService: DynamicFormValidationService)
Parameters :
Name Type Optional
containerRef ViewContainerRef No
validationService DynamicFormValidationService No
import { Component, ViewContainerRef } from '@angular/core';
import { DynamicFormControlWrapperBase, DynamicFormValidationService } from '@dynamic-forms/core';

@Component({
  selector: 'bs-dynamic-form-control-errors',
  templateUrl: './dynamic-form-control-errors.component.html',
})
export class BsDynamicFormControlErrorsComponent extends DynamicFormControlWrapperBase {
  constructor(
    protected override containerRef: ViewContainerRef,
    protected override validationService: DynamicFormValidationService,
  ) {
    super(containerRef, validationService);
  }
}
<ng-template #container></ng-template>
<div *ngIf="showErrors" class="dynamic-form-field-errors invalid-feedback">{{ errorMessage }}</div>

results matching ""

    No results matching ""