Skip to content

Problem with @angular/forms - Is the component compatible with Angular 17?  #486

Open
@Aileron79

Description

@Aileron79

I get some funny error messages when using it in my Angular 17 project:

image

In text:

./src/main.ts - Error: Module build failed (from ./node_modules/@angular-devkit/build-angular/node_modules/@ngtools/webpack/src/ivy/index.js):
Error: Cannot resolve type entity i6.ReactiveFormsModule to symbol

Error: ../../../node_modules/ngx-bootstrap-multiselect/lib/ngx-bootstrap-multiselect.component.d.ts:2:92 - error TS2307: Cannot find module '@angular/forms' or its corresponding type declarations.

2 import { AbstractControl, ControlValueAccessor, FormBuilder, FormControl, Validator } from '@angular/forms';
~~~~~~~~~~~~~~~~

Error: ../../../node_modules/ngx-bootstrap-multiselect/lib/ngx-bootstrap-multiselect.module.d.ts:7:21 - error TS2307: Cannot find module '@angular/forms' or its corresponding type declarations.

7 import * as i6 from "@angular/forms";
~~~~~~~~~~~~~~~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions