Closed livevasiliy closed 5 years ago
@livevasiliy
Seems like the issue is in the view, can you post the blade file ??
@sunel
https://1drv.ms/f/s!AiKdJriEUgPqgfcJrj84eDEoXZWfjg My source
@sunel
Why method show
working a correct, but the edit
method with the analogy code the show
not work ??
@livevasiliy
code
is a method in the class Eav\Attribute
, use attribute_code
in fields.blade.php Line No 22
@sunel !
Hey, it's work! Thanks 😁👍👌
Hello, @sunel !
I write a controller to handle CRUD attributes. I get errors in the
edit
method.Eav\Attribute::code must return a relationship instance. (View: C:\OSPanel\domains\vpalette\resources\views\admin_product_attributes\fields.blade.php) (View: C:\OSPanel\domains\vpalette\resources\views\admin_product_attributes\fields.blade.php)
Where
AttributeModel
it'suse Eav\Attribute as AttributeModel;
How to correct made ?