Replies: 2 comments
-
same question here. did you find a proper solution for that task? |
Beta Was this translation helpful? Give feedback.
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 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Someone knows how to integrate iMask to livewire?
Beta Was this translation helpful? Give feedback.
All reactions