Hey!
Can you show us the output of your div and the generated select tag in the browser?
This code looks like it should be working fine.
<div> {!! Form::label('tags', 'tags') !!} {!! Form::select('tags[]', $tags,null, ['class'=>'form-input rounded-sm block w-full mt-1','multiple', 'x-data'=>"{}" 'x-init'=>"function () { choices($el) }" ]) !!} </div>
Do you have any other code in there?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community