I do a filtered search from ng-select of angular in return, it gives me the expected result of the search
but I have defined a loading method to automatically fill in the data related to the search found with ng-select, in the pu, qte field ... I have the error and it does not load the data related to the element
I point out that with simple select it works with the drop-down list, but I don't want the drop-down list, the search must be automatic, that's why I preferred to use angular's ng-select
this is my ts component
```
export class AddLcommComponent implements OnInit {
formData: FormGroup;
articleList:Article[];
isValid:boolean=true;
wtotht = 0;
wtottva = 0;
wtotttc = 0;
selected = [];
constructor( public service:LcommandeService,private toastr :ToastrService,
I do a filtered search from ng-select of angular in return, it gives me the expected result of the search
but I have defined a loading method to automatically fill in the data related to the search found with ng-select, in the pu, qte field ... I have the error and it does not load the data related to the element
I point out that with simple select it works with the drop-down list, but I don't want the drop-down list, the search must be automatic, that's why I preferred to use angular's ng-select
this is my ts component
```
export class AddLcommComponent implements OnInit {
formData: FormGroup;
articleList:Article[];
isValid:boolean=true;
wtotht = 0;
wtottva = 0;
wtotttc = 0;
selected = [];
constructor( public service:LcommandeService,private toastr :ToastrService,
× Après avoir cliqué sur "Répondre" vous serez invité à vous connecter pour que votre message soit publié.
× Attention, ce sujet est très ancien. Le déterrer n'est pas forcément approprié. Nous te conseillons de créer un nouveau sujet pour poser ta question.