Render 'Multiple Checkboxes' from Voyager on the frontend

Posted In Voyager
  • dave-armstrong 1 week ago
    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?
    ![](http://hellodave.uk/collect/bread.png)
    ![](http://hellodave.uk/collect/blade.png)
    ![](http://hellodave.uk/collect/front.png)

    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 1 week ago
    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]](mailto:[email protected])    
    *I am available for freelance work*
    

    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

Please login or signup to leave a response.

Login

or Sign Up

Sign Up

or Login
×
Want to create your own SAAS?

I can teach you to create your own Software as a Service. Click here to learn more!

Visit SAAS Adventure!