I have a dropdownlist that reads the datasource from a webserver, and the problem is that when using v-model sometimes the dropdown displays as empty because the server call takes a bit longer to return the items for the dropdown.
¿How can I solve this problem?
Thanks in advance.
1 Answer, 1 is accepted
answered on 28 Jun 2018, 06:30 AM
By design, if the request takes longer than to execute, the widget will be initialized with an empty model. However, once the request gets back with the data - the model should be properly populated. Can you please make sure that there is no error in the scenario when the request takes a long time?
Also, it would be best, if you could send us a runnable example, where the experienced issue resides. Hence, we can locally test the configuration that you have at your end and pin down the reason for the issue.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items