From ee4f62a1b30a777d3a777e319b2ce5339bb27088 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Wed, 15 Jan 2025 08:46:11 -0800 Subject: [PATCH] Fix: import forms modules for entries component (#8752) --- .../components/common/input/entries/entries.component.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src-ui/src/app/components/common/input/entries/entries.component.ts b/src-ui/src/app/components/common/input/entries/entries.component.ts index 05cb3073b..cbf5de1d4 100644 --- a/src-ui/src/app/components/common/input/entries/entries.component.ts +++ b/src-ui/src/app/components/common/input/entries/entries.component.ts @@ -1,5 +1,9 @@ import { Component, forwardRef } from '@angular/core' -import { NG_VALUE_ACCESSOR } from '@angular/forms' +import { + FormsModule, + NG_VALUE_ACCESSOR, + ReactiveFormsModule, +} from '@angular/forms' import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons' import { AbstractInputComponent } from '../abstract-input' @@ -14,7 +18,7 @@ import { AbstractInputComponent } from '../abstract-input' selector: 'pngx-input-entries', templateUrl: './entries.component.html', styleUrl: './entries.component.scss', - imports: [NgxBootstrapIconsModule], + imports: [FormsModule, ReactiveFormsModule, NgxBootstrapIconsModule], }) export class EntriesComponent extends AbstractInputComponent { entries = []