Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Select2 full #8

Closed
nicolas-t opened this issue Jan 13, 2016 · 3 comments
Closed

Select2 full #8

nicolas-t opened this issue Jan 13, 2016 · 3 comments

Comments

@nicolas-t
Copy link

Hi,

Any way to load select2.full instead of select2 ? its adds the ability to add a className to the dropdown :
with options.dropdownCssClass

Best regards,

@rkit
Copy link
Owner

rkit commented Jan 13, 2016

Hi, I'll think about it.
If you are using the webpack, you can do so:

resolve: {
  alias: {
    'select2': 'select2/dist/js/select2.full.js',
  },
},

@nicolas-t
Copy link
Author

It works, thanks, I used this syntax :

resolve: {
  alias: {
    'select2': 'select2/dist/js/select2.full.js',
  },
},

(removed the space after select2 and added .js at the end of path)

@DiesIrae
Copy link

Hi,

I'm on Meteor so it's complicated to access the webpack layer. It would be great to have this feature!

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants