Hi, our project has been using this plugin for several years with prior versions of angular and it worked great. But now, we upgraded to Angular 22 and moved from webpack to Vite...and the devbridge plugin refuses to be recognized or register properly so that IntelliJ can see the typing. Compiling also fails. :(
✘ [ERROR] TS2339: Property 'devbridgeAutocomplete' does not exist on type 'JQuery<HTMLElement>'. [plugin angular-compiler]
...<some file>.ts:326:8:
326 │ tai.devbridgeAutocomplete ({
╵ ~~~~~~~~~~~~~~~~~~~~~
note that the 'tai' variable is just JQuery:
let tai: JQuery = $(`#...`);
I've tried everything I can think of to try and ensure types are installed, TS config files have devbridge added in the "typing" section, and ensured I'm importing properly in the file where I'm using it...nothing works.
I'm using the latest plugin (2.0.6) and it should be compatible with Angular...its got all the TS gear. But...just completely fails to be recognized.
JQuery is 3.71
JQueryUI is 1.13.2
I'm using the alternative plugin name since JQueryUI registers its own autocomplete plugin.
Can you provide a clear example of how this plugin intended to be used in an Angular/Vite environment?
Hi, our project has been using this plugin for several years with prior versions of angular and it worked great. But now, we upgraded to Angular 22 and moved from webpack to Vite...and the devbridge plugin refuses to be recognized or register properly so that IntelliJ can see the typing. Compiling also fails. :(
note that the 'tai' variable is just JQuery:
let tai: JQuery = $(`#...`);I've tried everything I can think of to try and ensure types are installed, TS config files have devbridge added in the "typing" section, and ensured I'm importing properly in the file where I'm using it...nothing works.
I'm using the latest plugin (2.0.6) and it should be compatible with Angular...its got all the TS gear. But...just completely fails to be recognized.
JQuery is 3.71
JQueryUI is 1.13.2
I'm using the alternative plugin name since JQueryUI registers its own autocomplete plugin.
Can you provide a clear example of how this plugin intended to be used in an Angular/Vite environment?