Hello @Ahmad Faizan if you using livewire 3 then try this
<script> Livewire.hook('morph.updated', ({ component, el }) => { $('#select_state_update_country').select2({ width: '100%', }); }) </script>