Skip to content

Commit

Permalink
remove from index and detail
Browse files Browse the repository at this point in the history
  • Loading branch information
yassilah committed Aug 27, 2019
1 parent 2fe1f33 commit d8518c2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/NestedForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,19 @@ class NestedForm extends Field
* @var Panel|Field|NestedForm
*/
protected $returnContext;
/**
* Indicates if the element should be shown on the index view.
*
* @var \Closure|bool
*/
public $showOnIndex = false;

/**
* Indicates if the element should be shown on the detail view.
*
* @var \Closure|bool
*/
public $showOnDetail = false;

/**
* Create a new nested form.
Expand Down

0 comments on commit d8518c2

Please sign in to comment.