From 6d55c380c4323eb359279aa3d3b176a98f8f776d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20M=C3=BCller?= Date: Wed, 20 Nov 2024 15:56:04 +0100 Subject: [PATCH] bug #2369 [LiveComponent] (Dynamic Form) Do not clear missing values on submit --- src/LiveComponent/src/ComponentWithFormTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LiveComponent/src/ComponentWithFormTrait.php b/src/LiveComponent/src/ComponentWithFormTrait.php index 00d981decd..95c82effa0 100644 --- a/src/LiveComponent/src/ComponentWithFormTrait.php +++ b/src/LiveComponent/src/ComponentWithFormTrait.php @@ -150,7 +150,7 @@ private function submitForm(bool $validateAll = true): void } $form = $this->getForm(); - $form->submit($this->formValues); + $form->submit($this->formValues, false); $this->shouldAutoSubmitForm = false; if ($validateAll) {