Comments (1)
It was extreme pain to pack latest Select2(4.0.10) with transtions throught Webpack because of minimal information on the internet and in the documentation.
This example code should work for users that use Symfony Webpack Encore:
const $ = require('jquery');
require('select2');
const Slovak = require('select2/src/js/select2/i18n/sk');
$.fn.select2.defaults.set('debug', true); // This will help you debug problem with translations
$.fn.select2.defaults.set('language', Slovak);
$('form').select2()
from docs.
Related Issues (11)
- Example Page HOT 1
- bind multiple selected option in edit screen in ajax(remotedata) option HOT 1
- How can I use this select2 package in electron app html? HOT 5
- Is options document correct? HOT 1
- Set Multiple selected values , but only one are selected . HOT 1
- When I add a new configuration item “tags : true”... HOT 1
- Setting multiple values does not work as described in documentation HOT 1
- Select2 single select inside modal in safari does not work
- Wrong link in section Preventing Events HOT 4
- Add TOC for subsections to each chapter page HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docs.