ui-select icon indicating copy to clipboard operation
ui-select copied to clipboard

Dropdown and input text showing up on a different line

Open dishant8 opened this issue 10 years ago • 5 comments

Hey, I am new to ui-select. So execuse me if my issue is very trivial.

I am following simple steps for setting up ui-select. But I seem not to solve the issue of this css. Input text and drop down are not in sync. This might be a bootstrap issue, though not sure.

ui-select-1

ui-select-2

This is the ui-select tag.

<ui-select ng-model="test"  theme="bootstrap">

<ui-select-match placeholder="Select">
    {{$select.selected}} 
</ui-select-match>

<ui-select-choices repeat="experiment in testExperiments | filter : $select.search">
    {{experiment}}
</ui-select-choices>
</ui-select>

I went through the issues but did not find any relevant solution. Let me know if you need anything else from my side

dishant8 avatar Aug 15 '16 14:08 dishant8

You should ask general support questions on somewhere like stackoverflow, github is primarily for bug reports/feature requests.

Make sure you are including select.css

user378230 avatar Aug 15 '16 15:08 user378230

ok. Thank you.

dishant8 avatar Aug 15 '16 15:08 dishant8

I am hitting this issue. @user378230 How did you make the case that this was not a bug?

abobwhite avatar Nov 22 '16 22:11 abobwhite

@abobwhite this issue doesn't appear on our examples as far as I can see so it's a usage/set up issue not a bug.

user378230 avatar Nov 24 '16 08:11 user378230

@user378230 It actually was a ui-select issue for bootstrap. I had to add this:

.ui-select-container.form-control { padding: 3px 3px !important; }

The issue is documented here: https://github.com/angular-ui/ui-select/issues/1559

abobwhite avatar Nov 25 '16 13:11 abobwhite