Hi,
I have a very special problem since a few days.
For my Models I have a configuration file with some special definitions for e.g. properties:
http://laravel.io/bin/wJGzL
So, there I define e.g. the array that contains the values for showing which checkboxes are checked for a checkbox area:
'series' => array(
'label' => 'character.series',
'form' => array(
'checked' => 'rel_series',
In my Form, I can access all these values with
$properties[$property]['form']['checked']
which then shows: rel_series. ok so good.
If I dd() $item->$properties[$property]['form']['checked'] I'll get:
array(2) { [0]=> int(1) [1]=> int(7) }
which is what I expect.
Now I would like to check if a checkbox needs to be checked and I'll do this:
http://laravel.io/bin/qQkPR
then I'll get this error:
Undefined index: checked (View: C:\xampp\htdocs\stargate\app\views\admin_formfields.blade.php)
What is my problem here that the dump is showing correct data and when I try to use it, it is not working?
Hope someone has an idea what I can do?
I cannot try to access to this array in another way, as my whole system is working like that.
Thanks
Andreas