Good morning.
I am using the syncfusion autocomplete.
For needs related to the project I am carrying out, for each character acquired, I make a 'post' to a server, providing (in the body) all the 'partial string' acquired so far, and I receive an array of objects that have a description that matches with the 'partial string' sent. In practice, the logic of the autocomplete resides on the server with which I interface.
Once I have received the array of objects, I would like to use the descriptions received in the autocomplete component of syncfusion.
Then I empty the [dataSource] of the 'autocomplete component' and fill it with the descriptions taken from the array of objects received by the server. The operation seems to work if it were not for the fact that the popup with the list of choices received, is displayed for a moment, but immediately after it is hidden.
What's the problem? Maybe I can't use the 'autocomplete' component in this way?
If it were possible to have a small example of how I can implement this logic I would be really grateful.