how about this one?
It's quite the same with top question, but the problem is I need to set the table to 'inventory' instead of 'item' since I need to do something with inventory table database, so can't do it if set_table('item');
So any solution for this relation with set_table('inventory')?
(When add new record to the inventory, the field item should become dropdown list which list all of the name of the item, instead of the item.id, set_relation(item, item, id) will only make a dropdown list which show only the item.id)
Thank you very much!