About the General category

Welcome to the Livewire community! If you aren’t looking for help or wanting to discuss the internals of Livewire, this is your category.

Just keep it clean… you don’t want to upset the jellyfish. :grin:

Thoughts on a “Best Practices” category or should we just use General? I remember someone asking about best practices over on GitHub.

I need help. I am new in here,
When i use livewire with select2 but its not working.

if i use normally then its work.
for example

livewire blade

< div class="form-group" > Source Warehouse* < select class="form-control" style="width: 100%;" id="firstwarehouse" wire:model="firstwarehouse"> < option> @foreach($sources as $source) {{$source->Warehouse_name}} @endforeach
@if($firstwarehouse)


<select wire:model="secondwarehouse">
<option></option>
<option value='1'>First</option>
<option value='2'>second</option>
</select>

@endif


@if($secondwarehouse)
<div ..........>
........

..
</div>
@endif
</div>

in livewire controller

class TransferItems extends Component
{
   public $firstwarehouse=null;
public $secondwarehouse=null;
.........

/////////////////
Its work if i use select2 in select class then livewire not working what is the main reason
I need help…
I want if live wire display file then css not work properly also. please make a video in bootstrap 4 and select2 option if choose option and display select next option and load css with select2.

I am still waiting
Please Help me…

Stay safe at home … COVID 19