-
-
Notifications
You must be signed in to change notification settings - Fork 669
Closed
Labels
Description
Describe the bug
In trying to use the ViewField ViewField::make('one')->view('platform::layouts.blank') i had the following error :
(Field must have the following attribute: view)
The function view() in ViewField tries to set an attribute $this->view but $view is not defined in the class
To Reproduce
Steps to reproduce the behavior:
- `ViewField::make('one')->view('platform::layouts.blank')
- Refresh page
Expected behavior
A field to be rendered
Desktop (please complete the following information):
- OS: [Manjaro Linux 18.0.4]
- Browser [chrome]
- Version [ 76.0.3809.100]
Server (please complete the following information):
- Platform Version: [6.1.4]
- Laravel Version: [6.0.4]
- PHP Version: [7.3.6]