0

angular-ui select2 をアプリケーションに実装しましたが、正常に動作していますが、選択ボックス コンテナー (検索の上) のレンダリングはドロップダウン パネルよりも小さくなっています。

これが私が意味することです:

ここに画像の説明を入力 ここに画像の説明を入力

HTML:

<select 
    ui-select2="{placeholder:'Select a User', dropdownAutoWidth: true}"
    class="animated slideInDown" 
    id="entityDropDown" 
    ng-model="selectedUser" 
    ng-options="user as user.name for user in users" 
    ng-change="getUserInfo(selectedUser)"> <option>Place Holder</option>
</select>
4

1 に答える 1