Questions tagged [ng2-completer]

18 questions
14
votes
10 answers

ng2-smart-table has missing dependencies completer

I am using Ng2SmartTable and I have this error: ERROR in The target entry-point "ng2-smart-table" has missing dependencies: - @ akveo / ng2-completer I have already tried the following commands and it does not work: 1.npm install --save…
NicoGuevaraAtuq
  • 502
  • 2
  • 5
  • 17
2
votes
2 answers

ng2-completer selected event not triggered on mouse click

As the question suggests, I have a problem applying the selected event for ng2-completer. It also seems to be an open issue with ng2-completer because they haven't released any fix for this issue on Github. However there is no work-around solution…
Loc Truong
  • 359
  • 5
  • 22
2
votes
2 answers

ng2-completer - Error Produced in Production build

I am using ng2-completer to create a search box where user can search for the github usernames. I have used CompleterService, CompleterData for getting data from the API. Component.ts protected searchStr: string; protected captain:…
Vivek m
  • 55
  • 8
2
votes
3 answers

How to install ng2-completer with angular cli and webpack

I am trying to install ng2-completer. It work just fine when I run ng serve. However, my ng build --prod. I get following error Module not found: Error: Can't resolve 'ng2-completer/ng2-completer.module' in 'folder_path/front/src/app' My…
Kush Patel
  • 3,685
  • 5
  • 42
  • 65
1
vote
1 answer

How to use specific field in json object as data source when using ng2-completer?

I am new to angular and the ng2 completer. I have an array of objects of the form var concetps = [ { id:, code:, concept:, display: } ............ ] I want the data source to be the display items of the array objects so I can use the…
Spindoctor
  • 434
  • 3
  • 17
1
vote
1 answer

Getting wrong height in bootstrap input-group

I'm trying to get a beautiful form with input-group Bootstrap 3.3.7 class, but something is wrong. I think I have coded right input-group structure: the main div contains other three elements, an input-group-addon, an input-form and finally an…
MAL
  • 143
  • 1
  • 14
0
votes
2 answers

ERROR in ./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js

I am getting the below error. when i do "ng build --prod --aot" ERROR in ./node_modules/ng2-smart-table/ng2-smart-table.ngfactory.js Module not found: Error: Can't resolve '../@akveo/ng2-completer/ng2-completer.ngfactory' in…
0
votes
0 answers

ng2-completer selected event triggered on mouse click is broken

I have the same issue as this ng2-completer selected event not triggered on mouse click - whereby the selected event is broken but the suggested fix doesn't work because it fires ngModelChange each time you type something in the search box as…
r.l.
  • 41
  • 1
  • 10
0
votes
1 answer

ng2-completer does not return any search results while searching on an array of objects

I am trying to use ng2-completer for auto-completing in a search box and it does not work except for an array of strings. I get 'No Results found'. From the screenshot it can be seen that "name" has been loaded into the array. I want to use…
likejudo
  • 3,396
  • 6
  • 52
  • 107
0
votes
2 answers

How to use ImageField and descriptionField in ng2-completor in angular 4+?

I am developing project in angular 6 and I am using ng2-completor in my search Box. I have used completerService.local that contains list of string.
Deva
  • 1,851
  • 21
  • 22
0
votes
0 answers

Modifying the CSS of ng2-completer

I have recently started using ng2-completer in my Angular 5 application and I was following this link 'http://oferh.github.io/ng2-completer/#/native' on how the control works and was not able to get all the functionality. 1) I would like the control…
Valla
  • 2,414
  • 11
  • 42
  • 73
0
votes
2 answers

How to apply css in ng2-completer based on condition?

I am using ng2-completer in my angular 2 application. Is there anyway where I can style or apply css the content in completer dropdown based on some condition. I have contents like RED, BLUE, GREEN ....so on. I want the item RED to have red…
Rahul B
  • 69
  • 1
  • 4
0
votes
1 answer

How to use ng2-completer with translate

i'm new in angular, i try to use the module ng2-completer with TranslateModule. The problem is when i retreive the JSON from the server-side, The JSON is: [{"id":10,"tipo":"EUR"},{"id":20,"tipo":"USD"}] I want to use tipo as value in the tag …
Melis
  • 33
  • 8
0
votes
1 answer

ng2-completer remote data with custom header is not working

I am trying to use ng2-completer in Angular5. However I am not able to post custom header with it. I am trying to replicate this My HTML code is as followed:
Kush Patel
  • 3,685
  • 5
  • 42
  • 65
0
votes
1 answer

Angular 5: ng build -- prod failing when looking for unused library

My app is under Angular 5.2.6 things are normal with ng serve But when running : ng build --prod , it takes a while , before failing , and giving along trace of errors . Those errors seems to look for files inside a library folder that even i'm not…
firasKoubaa
  • 6,439
  • 25
  • 79
  • 148
1
2