Skip to content

Commit ad56edb

Browse files
authored
Merge pull request #75 from joseballester/master
Fixed issue #74
2 parents 706e1de + 5f175f9 commit ad56edb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/NestedForm.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,20 @@ class NestedForm extends Field
6262
*/
6363
public $component = 'nested-form';
6464

65+
/**
66+
* Indicates if the element should be shown on the index view.
67+
*
68+
* @var \Closure|bool
69+
*/
70+
public $showOnIndex = false;
71+
72+
/**
73+
* Indicates if the element should be shown on the detail view.
74+
*
75+
* @var \Closure|bool
76+
*/
77+
public $showOnDetail = false;
78+
6579
/**
6680
* The field's relationship resource class.
6781
*

0 commit comments

Comments
 (0)