Skip to content

zui 1.10 .0下拉选择器在 input-group 中显示有问题 #196

Description

@jaivehall

未下拉时显示正常:
image

显示下拉选项时不对:
Screen Shot 2022-02-26 at 19 39 19

源码如下:
<div class="form-group"> <label class="col-sm-2">Customer</label> <div class="col-sm-10"> <div class="input-group"> <select class="form-control picker-select" name="apiCustomerType"> <option value="">Partner</option> <option value="1">Company</option> </select> <span class="input-group-addon fix-border fix-padding"></span> <select id="apiFormCustomerList" class="form-control picker-select" data-drop-width="100" name="apiCustomer"> <option value="1">...</option> </select> <span class="input-group-btn"> <button class="btn btn-default" type="button"><i class="icon icon-plus"></i></button> </span> </div> </div> </div>

JS 初始化下拉选择器:
$('select.picker-select').picker({ ... })

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions