I'm working with an array called item.warehouse_positions
that contains various prices and IDs. I want to display only one item.id
with the lowest price. How can I achieve this?
<div v-for='(item, index) in item.warehouse_positions' :key='index'>
{{ item.id }} -- {{ item.price }}
</div>