Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Clear button jump to new line #1576

Closed
maxbundchen opened this issue Apr 25, 2016 · 3 comments
Closed

Clear button jump to new line #1576

maxbundchen opened this issue Apr 25, 2016 · 3 comments

Comments

@maxbundchen
Copy link

When the selected text is bigger than the select element the clear button jump to a new line. In the original Select2 the text get truncated with ellipsis before the clear button. Is possible duplicate this feature? It's looks like a css adjust.

@user378230
Copy link
Contributor

Can you please update your post to follow the issue template and provide the version numbers and a demo plunkr?

This will make it easier for anyone who wants to submit a PR fix.

If you know a fix, please feel free to open a PR yourself, thanks!

@maxbundchen
Copy link
Author

Here is the plunkr.

As you can see the long names should be truncated (ellipsis is a good option as used in the original select and select2 jquery components). Also the clear button is in the wrong place. I'm trying solve this with css but at the moment I couldn't find any solution.

bootstrap: 3.3.6
ui-select: 0.16.1
angular: 1.5.3

@user378230
Copy link
Contributor

There was a previous attempt #1337 but it pushed the clear button to a new line, maybe it will help you start.

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

No branches or pull requests

2 participants