1
0
mirror of synced 2024-11-23 13:36:01 +03:00
select2/pages/02.configuration/docs.md
2017-09-03 22:23:13 -04:00

255 B

title taxonomy
Configuration
category
docs

To configure custom options when you initialize Select2, simply pass an object in your call to .select2():

$('.js-example-basic-single').select2({
  placeholder: 'Select an option'
});