I am working on a scenario where I have a list that iterates through an array of objects, generating list items that are dependent on the current object.
As part of this process, a calculation needs to be performed with the object as a parameter, which in turn returns a promise. The problem I am facing is that once the list is rendered, it only has access to the pending promise object and does not update once the promise resolves.
<md-list id="orderList">
<md-list-item v-for="order in orders" :key="order.id" @click="orderDialog(order)">
{{ asyncFunction(order) }}
</md-list-item>
</md-list>
I am seeking advice on how to achieve the desired behavior in this situation.