ngx-bootstrap-multiselect
ngx-bootstrap-multiselect copied to clipboard
Problem with @angular/forms - Is the component compatible with Angular 17?
I get some funny error messages when using it in my Angular 17 project:
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"; ~~~~~~~~~~~~~~~~