Support the ongoing development of Laravel.io →
Laravel Database Views
Last updated 2 weeks ago.
0

https://makitweb.com/loading-data-remotely-in-select2-with-ajax/ as noted here

NOTE – While creating associative array for initialize the Array make sure that their you have defined id and text keys otherwise the HTML element will not be initialized.

you may need to

 return $tag_list->map(function($tags) {
               
                return [ 'id' => $tags->id, 'text' => $tags->t_name ];
            });

Last updated 2 years ago.
0

Sign in to participate in this thread!

Cloudways

Your banner here too?

asakre asakre asakre Joined 23 May 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.