0👍
inventoryCallBack: function(item){
console.log(item.inventory_code);
this.inventoryCode = item.inventory_code;
this.inventoryName = item.inventory_name;
this.inventoryId = item.id;
return item.inventory_code
},
This should do the trick, missed out this part.
Source:stackexchange.com