This is my code
form.listPrice.map(list => { if (list.id === listId) { form.active = true listPrice = parseInt(list.price) if (list.off