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