Skip to content

Commit 3c954bf

Browse files
committed
Remove initial year configuration and unused saveOnActionRelation property from Field class
1 parent 68f3c99 commit 3c954bf

File tree

2 files changed

+0
-28
lines changed

2 files changed

+0
-28
lines changed

config/nova.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -203,13 +203,4 @@
203203
'stopped' => '/',
204204
],
205205

206-
/*
207-
|--------------------------------------------------------------------------
208-
| Initial Years in Year Option On login form
209-
|--------------------------------------------------------------------------
210-
|
211-
*/
212-
213-
'initialyear' => env('NOVA_INITIAL_YEAR', 2024),
214-
215206
];

src/Fields/Field.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ abstract class Field extends FieldElement implements JsonSerializable, Resolvabl
5151
*/
5252
public $attribute;
5353

54-
/**
55-
* Indicates whether the field should be saved on action relation.
56-
*
57-
* @var bool
58-
*/
59-
public $saveOnActionRelation = true;
60-
6154
/**
6255
* The field's resolved value.
6356
*
@@ -394,18 +387,6 @@ public function displayUsing(callable $displayCallback)
394387

395388
return $this;
396389
}
397-
398-
/**
399-
* Prevents the field from being saved when performing an action on a related model.
400-
*
401-
* @return $this
402-
*/
403-
public function doNotSaveOnActionRelation()
404-
{
405-
$this->saveOnActionRelation = false;
406-
407-
return $this;
408-
}
409390

410391
/**
411392
* Define the callback that should be used to resolve the field's value.

0 commit comments

Comments
 (0)