Select method [resolved]

I am using the Select method

 ->options(User::all()->pluck('name', 'id'))


But I notice that when I select a product and save it, the id is actually saved in the database.

Would it be possible to also save the product name?
image.png
Was this page helpful?