1
私はselect2とbootstrap3を使用します。検索フィールドに検索アイコンを追加する方法Select2検索フィールド上のアイコン検索
https://select2.github.io/examples.html
シングルセレクトボックス
このような:?
https://fk.github.io/select2-bootstrap-css/
これは私の選択2オプションコードです:
$(".select2").select2({
theme: 'bootstrap'
});
は、これは私のHTMLコードです:
<select style="width:100%" class="select2">
<optgroup label="Test-group">
<option>test1</option>
<option>test2</option>
</optgroup>
</select>
ありがとうございました。
は、私はそれらを後でチェックします、ありがとうございます。 – manaovo