Angular 5 with material autocomplete
问题 I have a problem in the autocomplete material, in the part of the [value] = "option.NameTypeProduct", what I want to pass is the id, try with option.id, it works but in the input I get the id, and I want you to name me, as I do to pass the id, and that the name keeps coming up. There is some way of doing what I say of passing the id parameter of the html without the name disappearing from the input. export class DetailproductcreateComponent implements OnInit { FormDetailProductCreate :