Repository navigation
Replies: 2 comments
|
same question here. did you find a proper solution for that task? |
0 replies
|
This works for me using Livewire 3: <x-phone-input wire:model.live="phone" /><div
wire:ignore
x-data="{
value: $wire.entangle('{{ $attributes->wire('model')->value() }}', @js($attributes->wire('model')->hasModifier('live'))),
}"
x-init="() => {
IMask($refs.input, {
mask: '+{7}(000)000-00-00'
});
}"
>
<input
x-ref="input"
x-bind:value="value"
{{ $attributes }}
/>
</div>
Kooha-2024-11-14-10-43-22.mp4note : I didn't tested against |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Someone knows how to integrate iMask to livewire?
All reactions