Replies: 1 comment
-
Maybe I have found a solution to the problem: <script> setTimeout(function() { var el = $('.codice_ateco_select'); el.off('change'); initSelect(); el.on('change', function(e) { @this.set('id_codici_ateco', el.select2('val')); }); function initSelect() { el.select2({ placeholder: '{{ __('Seleziona codici ateco...')}}', }); } }, 100); </script> |
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
-
Hello, I wanted to report this problem.
I use select2 in livewire how can I do to be able to recall it in your modal ??
Thank you
Beta Was this translation helpful? Give feedback.
All reactions