I created a form in laravel where I want to add 2 checkboxes that when creating the post to display on or off in the database. So far we have managed to create the post if the checkbox is checked in the database. But I don't know exactly how to do it for the negative "off" phase. I get an error that can't be "null". This is my code for the checkbox:
Also maybe i want to edit that post laster and uncheck the box. How can i make it for edit post?
This is a code from edit the price post:
If you can help me will be great. Thank you
Aucun commentaire:
Enregistrer un commentaire