Skip to content

Commit fb7afd4

Browse files
committed
Restore wire:model behavior
1 parent 9420884 commit fb7afd4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Fields/Properties/WithWireModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ trait WithWireModel
66
{
77
protected function wireModelProperty(?string $wireModel = null): ?string
88
{
9-
$wireModel = $wireModel ?? $this->field->get('wire_model', 'change');
9+
$wireModel = $wireModel ?? $this->field->get('wire_model', 'live.change');
1010

1111
/* "Defer" is Livewire's default so we don't want to return it as modifier. */
1212
return $wireModel !== 'defer' ? $wireModel : null;

0 commit comments

Comments
 (0)