[ ] bug report => Search github for a similar issue or PR before submitting
[x] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35
```
Multiple field for "autoComplete" for example:
or
in two case show: name(space)lastname => Carlos Rojas (example)
*this is a suggestion, if exist other way (or better) to do this, its fine :D
thanks.
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]
Node (for AoT issues): node --version =
Any info regarding this item? It would be a very good addition!
Very need this feature, or custom template for single autocomplete
Any updates?
Up. We need this feature!!!
Any solutions or any updates?
Any udpates? We need this
any update?
We need it too.
I "solved" the problem in the following way, I hope it will help you until they implement the definitive option
HTML
<!-- **NOT set/put "field" attribute** -->
<p-autoComplete #customId [(ngModel)]="value" (onSelect)="select($event)" [suggestions]="suggestions" (completeMethod)="filter($event)">
<ng-template let-v pTemplate="item">
{{v.name}} {{v.lastname}} {{v.etc}}
</ng-template>
</p-autoComplete>
TS
@ViewChild('customId', {static: false}) auto:any;
select(v : any) {
let allFilds:string = v.name+' '+v.lastname.....
this.auto.inputFieldValue = allFilds.trim();
}
Most helpful comment
Any info regarding this item? It would be a very good addition!