Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

Fix: add missing icon imports to inputs

shamoonea94626b82f5
diff --git a/src-ui/src/app/components/common/input/check/check.component.ts b/src-ui/src/app/components/common/input/check/check.component.ts
index d7903b44b..82e266724 100644
--- a/src-ui/src/app/components/common/input/check/check.component.ts
+++ b/src-ui/src/app/components/common/input/check/check.component.ts
@@ -5,6 +5,7 @@ import {
NG_VALUE_ACCESSOR,
ReactiveFormsModule,
} from '@angular/forms'
+import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
import { AbstractInputComponent } from '../abstract-input'
@Component({
@@ -18,7 +19,7 @@ import { AbstractInputComponent } from '../abstract-input'
selector: 'pngx-input-check',
templateUrl: './check.component.html',
styleUrls: ['./check.component.scss'],
- imports: [FormsModule, ReactiveFormsModule, NgClass],
+ imports: [FormsModule, ReactiveFormsModule, NgClass, NgxBootstrapIconsModule],
})
export class CheckComponent extends AbstractInputComponent<boolean> {
constructor() {
diff --git a/src-ui/src/app/components/common/input/monetary/monetary.component.ts b/src-ui/src/app/components/common/input/monetary/monetary.component.ts
index a895f3d56..cca3ab4b9 100644
--- a/src-ui/src/app/components/common/input/monetary/monetary.component.ts
+++ b/src-ui/src/app/components/common/input/monetary/monetary.component.ts
@@ -5,6 +5,7 @@ import {
NG_VALUE_ACCESSOR,
ReactiveFormsModule,
} from '@angular/forms'
+import { NgxBootstrapIconsModule } from 'ngx-bootstrap-icons'
import { AbstractInputComponent } from '../abstract-input'
@Component({
@@ -18,7 +19,12 @@ import { AbstractInputComponent } from '../abstract-input'
selector: 'pngx-input-monetary',
templateUrl: './monetary.component.html',
styleUrls: ['./monetary.component.scss'],
- imports: [CurrencyPipe, FormsModule, ReactiveFormsModule],
+ imports: [
+ CurrencyPipe,
+ FormsModule,
+ ReactiveFormsModule,
+ NgxBootstrapIconsModule,
+ ],
})
export class MonetaryComponent extends AbstractInputComponent<string> {
public currency: string = ''