Skip to content
This repository was archived by the owner on Mar 1, 2025. It is now read-only.

Commit bfdda3b

Browse files
committed
2 parents eb4269f + 4e67bcd commit bfdda3b

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `tall-interactive` will be documented in this file.
44

5+
## 0.8.10 - 2022-08-19
6+
7+
– Fix type-error bug after Filament refactored internal implementation.
8+
59
## 0.8.9 - 2022-08-15
610

711
– Add ButtonAction color support.

src/Livewire/Concerns/HasForm.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ trait HasForm
2626

2727
public function bootedHasForm(): void
2828
{
29-
if ( $this->shouldFillForm && $this->formClass ) {
29+
if ($this->shouldFillForm && $this->formClass) {
3030
$this->mountForm();
3131
}
3232

33-
if ( $this->formClass ) {
33+
if ($this->formClass) {
3434
$this->registerFormMessages();
3535
}
3636
}
@@ -40,7 +40,7 @@ public function executeButtonAction(string $buttonActionName): void
4040
collect($this->call('getButtonActions'))
4141
->reject(fn (ButtonAction $buttonAction) => $buttonAction->isHidden())
4242
->each(function (ButtonAction $buttonAction) use ($buttonActionName): void {
43-
if ( $buttonAction->getName() !== $buttonActionName ) {
43+
if ($buttonAction->getName() !== $buttonActionName) {
4444
return;
4545
}
4646

@@ -76,7 +76,7 @@ protected function getForms(): array
7676
$this->makeForm()
7777
->schema($this->call('getFormSchema') ?: [])
7878
->tap(function (ComponentContainer $componentContainer): ComponentContainer {
79-
if ( $this->model ) {
79+
if ($this->model) {
8080
$componentContainer->model($this->model);
8181
}
8282

@@ -92,7 +92,7 @@ protected function handleFormSubmitted(): void
9292
{
9393
$this->handleCloseOnSubmit();
9494

95-
if ( ! $this->model ) {
95+
if (! $this->model) {
9696
$this->reset('data', 'shouldFillForm');
9797

9898
$this->mountForm();

0 commit comments

Comments
 (0)