This commit is contained in:
Dan Harrin
2021-03-23 11:31:57 +00:00
parent 7561107201
commit d531113871
11 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ trait HasForm
}
}
public function form(Form $form)
protected function form(Form $form)
{
return $form;
}
+1 -1
View File
@@ -21,7 +21,7 @@ class Login extends Component
public $remember = false;
public function form(Form $form)
protected function form(Form $form)
{
return $form
->schema([
+1 -1
View File
@@ -17,7 +17,7 @@ class RequestPassword extends Component
public $email;
public function form(Form $form)
protected function form(Form $form)
{
return $form
->schema([
+1 -1
View File
@@ -25,7 +25,7 @@ class ResetPassword extends Component
public $user;
public function form(Form $form)
protected function form(Form $form)
{
return $form
->schema([
+1 -1
View File
@@ -18,7 +18,7 @@ class EditAccount extends Page
public static $view = 'filament::edit-account';
public function form(Form $form)
protected function form(Form $form)
{
return static::getResource()::form(
$form->model(static::getModel()),
+1 -1
View File
@@ -8,7 +8,7 @@ trait HasForm
{
use \Filament\Forms\HasForm;
public function form(Form $form)
protected function form(Form $form)
{
return $form;
}
+1 -1
View File
@@ -49,7 +49,7 @@ class CreateRecord extends Page
];
}
public function form(Form $form)
protected function form(Form $form)
{
return static::getResource()::form(
$form->model(static::getModel()),
+1 -1
View File
@@ -57,7 +57,7 @@ class EditRecord extends Page
];
}
public function form(Form $form)
protected function form(Form $form)
{
return static::getResource()::form(
$form->model(static::getModel()),
@@ -43,7 +43,7 @@ class AttachRecord extends Component
$this->related = null;
}
public function form(Form $form)
protected function form(Form $form)
{
return $form
->schema([
@@ -46,7 +46,7 @@ class CreateRecord extends Component
$this->fillWithFormDefaults();
}
public function form(Form $form)
protected function form(Form $form)
{
return $this->manager::form(
$form->model(get_class($this->owner->{$this->getRelationship()}()->getModel())),
+1 -1
View File
@@ -28,7 +28,7 @@ class EditRecord extends Component
'switchRelationManagerEditRecord' => 'switchRecord',
];
public function form(Form $form)
protected function form(Form $form)
{
return $this->manager::form($form->model(get_class($this->owner->{$this->getRelationship()}()->getModel())));
}