From bf0e22a1d80b82359628a27b8e7e7760289ad230 Mon Sep 17 00:00:00 2001 From: Daniel Weaver Date: Thu, 21 May 2026 18:27:52 -0400 Subject: [PATCH] Prefilled Alpine.js forms from form field values --- src/Forms/JsDrivers/Alpine.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/JsDrivers/Alpine.php b/src/Forms/JsDrivers/Alpine.php index fac29541882..0b0790898dd 100644 --- a/src/Forms/JsDrivers/Alpine.php +++ b/src/Forms/JsDrivers/Alpine.php @@ -64,7 +64,7 @@ public function addToRenderableFieldAttributes($field) $attributes = []; if ($field->fieldtype()->hasJsDriverDataBinding()) { - $attributes['x-model'] = $this->getAlpineXDataKey($field->handle(), $this->scope); + $attributes['x-model.fill'] = $this->getAlpineXDataKey($field->handle(), $this->scope); } return $attributes;