boolean column using Voyager and populate frontend

barthfox-idman

Oct 13th, 2017 10:23 AM

I'am new in voyager i don't know How to create a boolean column using Voyager and how to use Laravel Controller to get datas in frontend. I my case i want to add properties via voyager admin in wich user can chose FOR RENT or FOR SELL, RENTED or SELLED. Somme one can help me here? All my greats to Voyager team

mark

Oct 18th, 2017 04:52 AM

Normally a boolean would be display as a checkbox saying something like

[] I accept the terms of service

However, for your case, it sounds more like you need a select dropdown, since there are 4 options.