简体   繁体   中英

How to fit search tags and input onto same line of ui-select multiple select?

If you look at the ui-select tutorial , and click on Multiple Selection , you see multiple selection dropdowns where once you select at least one, you get at least two "lines", which will contain the already selected entries, until the last line, in which you can search/select other entries in the dropdown.

Is there no way to put both the already selected entries and the search feature on the same line? That makes the most sense to me. Alternatively I'd be fine if there could be placeholder text where the "|"pipe is that says "enter text here" or something, but that seems impossible.

Thanks for your time.

You can apply a width: auto; to the input, i see that it has a fixed with in the plnkr examples.

Sample plnkr

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM