Skip to content

Commit

Permalink
some stub hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tanthammar committed Aug 4, 2020
1 parent 75d9a6a commit 3fcca5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/stubs/create-component.stub
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class DummyComponent extends FormComponent
$this->fill([
'formTitle' => FormTitle,
'action' => 'create',
'spaMode' => true, //wrap with x-pages.default
'spaMode' => true, //wrap with x-pages.default or set prop $spaLayout to define a blade layout to wrap the form
'showGoBack' => false, //or true
]);
$this->mount_form();
Expand Down
2 changes: 1 addition & 1 deletion resources/stubs/update-component.stub
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class DummyComponent extends FormComponent
$this->fill([
'formTitle' => FormTitle,
'action' => 'update',
'spaMode' => true, //wrap with x-pages.default
'spaMode' => true, //wrap with x-pages.default or set prop $spaLayout to define a blade layout to wrap the form
'showGoBack' => false, //or true
]);

Expand Down

0 comments on commit 3fcca5e

Please sign in to comment.