Skip to content

Commit

Permalink
Pass through live modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
joshhanley committed May 13, 2024
1 parent 505626a commit 2484d00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/autocomplete-input.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div
x-data="{
inputValue: $wire.entangle('{{ $attributes->wire('model')->value }}'),
inputValue: $wire.entangle('{{ $attributes->wire('model')->value }}', @js($attributes->wire('model')->hasModifier('live'))),
detachedInput: null,
wasJustFocused: false,
}"
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/autocomplete.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<div
x-data="autocomplete({
id: $wire.entangle('{{ $attributes->wire('model')->value }}'),
id: $wire.entangle('{{ $attributes->wire('model')->value }}', @js($attributes->wire('model')->hasModifier('live'))),
autoSelect: @js($autoSelect),
})"
x-on:keydown.escape="escape($event)"
Expand Down

0 comments on commit 2484d00

Please sign in to comment.