In the current version of select2
you just need to add the attribute data-placeholder="A NICE PLACEHOLDER"
. select2
will automatically assign the placeholder.
Please note: adding an empty <option></option>
inside the select is still mandatory.