Enterprise Data Grid & UI Components for Angular, React & Blazor › Forums › General Discussions › ComboBox › Autocomplete With List of Objects › Reply To: Autocomplete With List of Objects
March 29, 2022 at 2:36 pm
#103018
Keymaster
Hi alexis,
I think that this part of the code is wrong: this.firstElementChild.selectedValues[0].description. The reason is that there is no description field in the data source, and the other reason is that you may not have a selected value, too. This means that this.firstElementChild.selectedValues[0] is undefined.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/