After tinkering with this a bit I moved a few snippets around and the problem seems to have disappeared. I feel there must have been some JavaScript error preventing the value from being posted properly. Everything seems to be working as expected. @mckibbe, I would suggest creating a new page with a blank form and work your way up from there. Make sure your javascript debugger is not throwing any unexpected errors and this should work fine.
For those who might face this situation, the solution is quite easy, use this syntax
$myModel->active = (Input::has('active')) ? 1 : 0;
So using Input::get caused the problem.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community