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

Conversation

csebold
Copy link

@csebold csebold commented Dec 10, 2014

My humble attempt to contribute a footer directive for the bottom of the dropdown menu

@mrwarrens
Copy link

I would be a fan if this was merged. My project has several cases where we need a footer, and at the moment we are hacking up a solution involving two sets of dom nodes inside of ui-select-choices and turn them on/off if it is the last element.

@csebold
Copy link
Author

csebold commented Jan 13, 2015

This is a feature of Select2, but I don't see it on ui-select's roadmap. I'd love to see this rolled in, though. If there's something I can do to make the code fit better, I'm willing to make it happen.

@joshrickert
Copy link

A header would be helpful as well... Same basic idea.

@ghost
Copy link

ghost commented Feb 18, 2015

any idea on if/when this will be merged and released?

@dimirc
Copy link
Contributor

dimirc commented Feb 19, 2015

@csebold I think that this might be good, but I see some trouble on each theme:

Bootstrap

  • footer is shown when the dropdown is closed
  • footer is shown on top of the dropdown

image
image

Selectize

  • footer is shown when the dropdown is closed
  • footer isn't shown when dropdown is open
    image
    image

Select2

You mention:

This is a feature of Select2, but I don't see it on ui-select's roadmap

But I dont see this on select2. I wanted to see if there were some select2 css clases to keep same style as right now seems like without any padding or default style

image

@dimirc dimirc added this to the 0.11.x milestone Feb 19, 2015
@plong0
Copy link
Contributor

plong0 commented Nov 13, 2015

+1
anything more about having a ui-select-footer / ui-select-header? I would really like this.

@dorr-fg
Copy link

dorr-fg commented Nov 25, 2015

This would be very helpful for me as well. For instance, for providing a "toolbar" for creating new entities in lookup fields that use this combo-box.

@plong0
Copy link
Contributor

plong0 commented Nov 25, 2015

My version of adding header and footer is at PR #1323

Adds:
ui-select-header
ui-select-footer

@user378230
Copy link
Contributor

Closing in favour of #1323 when it works.

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

Successfully merging this pull request may close these issues.

8 participants