I created two tables naming items and product_types ... I added two inputs in the product_type and created a relationship for items with product_types..
when I try to add an item I am able to select the product_type with a drop down menu and I'm able to select..but after saving the column product_type is displaying no results
My item bread property:
When adding an item:
after adding when I view the item:
Can you try to use product_type_id instead?
Please provide the actual version number for laravel and Voyager. Saying "latest" is not helpful if this issue were to remain open for weeks/months
I had the same problem, make sure that you activated the checkboxes (Visibility) in field "product_type".
Solution provided by @Overfinch works for me. Also I had to change the column's "Input Type" to "Number".
v1.0.14
This also seems to be fixed in https://github.com/the-control-group/voyager/pull/2837 (1.x-dev)
The default selected type is now text and not checkbox.
If it isn't fixed (in future 1.1) please let us know or open a new issue!
@Overfinch thankyou it works to me also.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.
Most helpful comment
I had the same problem, make sure that you activated the checkboxes (Visibility) in field "product_type".