Package: https://github.com/select2/select2
Official Docs: https://select2.org/
How to Use select2
Select2 gives you a customizable select box with support for searching, tagging, remote data sets, infinite scrolling, and many other highly used options.
you must include the compiled JavaScript and CSS files on your website. There are multiple options for including these pre-compiled files, also known as a distribution, in your website or application.
Select2 also supports multi-value select boxes. The selection below is declared with multiple attributes.
in this tutorial, I show you the Select2 dropdown basic example and select2 multiple select dropdown examples.
We can use this component in Adminlet3 and any theme.
Select2 component provides a Local search facility.
Chapters
00:00 Select2 Introduction
01:19 How to Install select2
01:46 Select2 CDN
03:35 Change normal Select to Select2
05:55 Why Inside document.ready
06:50 Select2 Output
07:31 Select2 multiple selections
08:21 Select2 tagging
09:21 How to make disable select2
10:15 how to keep the open dropdown
11:10 select2 options
11:32 Select2 events
you can easily implement a Select2 in minute theme and another theme
Like Facebook Page: / laravelpackagetutorial
Join Facebook Group: / 576525202944819
See here How to set up and enable HTTPS with SSL on wamp server virtual host
• How to setup and enable HTTPS with SS...
How to install AdminLTE 3 template in laravel7
• How to install AdminLTE 3 in laravel
Please Like and Subscribe. This will really boost my confidence and encourage me to make more and more videos.
#laravel #select2 #php
Thanks
Shailesh Ladumor