<select data-width="100%" data-placeholder="Таблица.." class="js-example-basic-single" id="tableNames" tabindex="14"> <option disabled="disabled" selected="selected"></option> </select> и инициализация $('#tableNames').select2({ theme: "bootstrap", width: '100%', dropdownParent: $('#forSnzt'), selectOnClose: true, matcher: matchCustom }); Actually, is it possible to configure that when receiving the focus select2 expand itself?
Something I can not figure out how to do it.