I'm currently facing 2 scenarios, both don't work.
Either I have [object object] when the grid is read, when I click the input field and type in something, the autocomplete fills correctly and when I leave the field, the value is correctly displayed.
Or I have the grid correctly ready, with the value displaying in the field, I click in the input field and type in something, autocomplete fills correctly when I select an entry it gets inserted correctly, but when I leave the field, it turns into "undefined".
Mostly what I changed is the display template. I currently do not know to what values/properties the autocomplete binds so that I can adjust the template correctly.
The field the autocomplete runs on is actually of type object so I want the properties of that object filled correctly and displayed correctly.
In general, how do I debug an autocomplete widget because I cannot make any breakpoints at any point to check the data.
Either I have [object object] when the grid is read, when I click the input field and type in something, the autocomplete fills correctly and when I leave the field, the value is correctly displayed.
Or I have the grid correctly ready, with the value displaying in the field, I click in the input field and type in something, autocomplete fills correctly when I select an entry it gets inserted correctly, but when I leave the field, it turns into "undefined".
Mostly what I changed is the display template. I currently do not know to what values/properties the autocomplete binds so that I can adjust the template correctly.
The field the autocomplete runs on is actually of type object so I want the properties of that object filled correctly and displayed correctly.
In general, how do I debug an autocomplete widget because I cannot make any breakpoints at any point to check the data.