How to use gentelella alela select2 option in laravel

I found they have select2 file in their vendor folder, so i linked them (those links works when i open these two files in web browser). in header

 <link href="" rel="stylesheet">

in Footer

<script src=""></script>

in body

 <div class="item form-group">
<select class="form-control select2-multi" name="tags[]">
@foreach($tags as $tag)
<option value=""> </option>
@endforeach
</select>
</div>

in body

<script type="text/javascript">
$(.select2-multi').select2();
</script>

but, still it not working.. this code found in here https://www.youtube.com/watch?v=BNUYaLWdR04&list=PLwAKR305CRO-Q90J---jXVzbOd4CDRbVx&index=43



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3kt7E42
via IFTTT

تعليقات

المشاركات الشائعة من هذه المدونة

I am unable to figure out how to create payment collection request, after a form has been submitted in laravel

laravel, mysql transaction not working after failed one time