All files / element-ng/formly-legacy si-formly.component.ts

80% Statements 4/5
50% Branches 6/12
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23                                      1x      
/**
 * Copyright (c) Siemens 2016 - 2026
 * SPDX-License-Identifier: MIT
 */
import { Component } from '@angular/core';
import { AbstractControl } from '@angular/forms';
import { SiFormlyComponent as SiFormlyBaseComponent } from '@siemens/element-ng/formly';
 
/**
 * @deprecated This component is based on Angular Formly v6 and will be removed in
 * a future release. Migrate to the standalone `SiFormlyComponent` from
 * `@siemens/element-ng/formly` (Formly v7.1) instead.
 */
@Component({
  selector: 'si-formly',
  // eslint-disable-next-line @angular-eslint/prefer-standalone
  standalone: false,
  templateUrl: './si-formly.component.html'
})
export class SiFormlyComponent<
  TControl extends { [K in keyof TControl]: AbstractControl }
> extends SiFormlyBaseComponent<TControl> {}