Skip to content

Commit a92fe82

Browse files
committed
Always re-extract formValues in LiveComponent
1 parent 3a3dbb1 commit a92fe82

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/LiveComponent/src/ComponentWithFormTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,7 @@ public function getFormName(): string
126126

127127
public function getFormValues(): array
128128
{
129-
if (null === $this->formValues) {
130-
$this->formValues = $this->extractFormValues($this->getForm());
131-
}
129+
$this->formValues = $this->extractFormValues($this->getForm());
132130

133131
return $this->formValues;
134132
}

0 commit comments

Comments
 (0)