Render 'Multiple Checkboxes' from Voyager on the frontend

dave-armstrong

Nov 27th, 2019 07:14 PM

I'm trying to display the 'checked' check boxes in my view and i'm not sure how to go about it. I have a modal of 'meal' which has the below set out as part of its bread: { "checked": false, "options": { "checkbox1": "Chefs Special", "checkbox2": "Vegetarian", "checkbox3": "Vegan" } } The below screen shots show where I want to display the out puts within my view blade and also on the frontend. I'm guessing I need a for each but I dont know how to call it?

mark

Nov 28th, 2019 01:53 PM

Hmm, that is a good question. Would you be able to share the codebase with me along with a sample dump of the database, then I will see if I can fix it and send it back.


Best Regards,
Mark Topper
Mail: [email protected]
I am available for freelance work