Im trying to access a property of an object by a dynamic property name within Laravel Blade file. Im getting the following error
ErrorException (E_ERROR) Object of class stdClass could not be
converted to string (View:
/Users/kusal/Sites/laravel/masterdata/MD.UI/views/update.blade.php)
Code:
{{ $data->$control->value_column }}
I want to access the $control->value_column of $data.