We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
.blur
1 parent eadd396 commit 0bf2857Copy full SHA for 0bf2857
src/View/Components/Input.php
@@ -146,13 +146,14 @@ class="w-full"
146
x-ref="myInput"
147
:value="amount"
148
x-on:input="$nextTick(() => $wire.set('{{ $modelName() }}', Currency.getUnmasked(), {{ json_encode($attributes->wire('model')->hasModifier('live')) }}))"
149
+ x-on:blur="$nextTick(() => $wire.set('{{ $modelName() }}', Currency.getUnmasked(), {{ json_encode($attributes->wire('model')->hasModifier('blur')) }}))"
150
inputmode="numeric"
151
@endif
152
153
{{
154
$attributes
155
->merge(['type' => 'text'])
- ->except($money ? ['wire:model', 'wire:model.live'] : '')
156
+ ->except($money ? ['wire:model', 'wire:model.live', 'wire:model.blur'] : '')
157
}}
158
/>
159
0 commit comments