Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jaivehall opened this issue Feb 26, 2022 · 0 comments
Open

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

jaivehall opened this issue Feb 26, 2022 · 0 comments

Comments

@jaivehall
Copy link

未下拉时显示正常:
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({ ... })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant