File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public function __construct()
4444
4545 public function render (Form $ form , string $ mode = null ): string
4646 {
47- if ($ this ->form !== $ form ) {
47+ if (! isset ( $ this -> form ) || $ this ->form !== $ form ) {
4848 $ this ->controlsInit = false ;
4949 }
5050
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public function __construct(string $layout = FormLayout::HORIZONTAL)
6565
6666 public function render (Form $ form , string $ mode = null ): string
6767 {
68- if ($ this ->form !== $ form ) {
68+ if (! isset ( $ this -> form ) || $ this ->form !== $ form ) {
6969 $ this ->controlsInit = false ;
7070 }
7171
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function __construct(string $layout = FormLayout::HORIZONTAL)
6767
6868 public function render (Form $ form , string $ mode = null ): string
6969 {
70- if ($ this ->form !== $ form ) {
70+ if (! isset ( $ this -> form ) || $ this ->form !== $ form ) {
7171 $ this ->controlsInit = false ;
7272 }
7373
You can’t perform that action at this time.
0 commit comments