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

Implemantation of Issue #267: Custom Template for Group Labels #796

Closed
wants to merge 1 commit into from
Closed

Implemantation of Issue #267: Custom Template for Group Labels #796

wants to merge 1 commit into from

Conversation

swissmanu
Copy link

  • new directive uiSelectGroup for customizing the item groups header template.
  • if no custom group template is given, a default fallback to $group.name is used instead.
  • see examples/demo-groupby.html for further explanations

@swissmanu
Copy link
Author

any interest in this?

@Envek
Copy link

Envek commented Aug 25, 2015

I have interest on this, thank you very much for your work — I currently pulled it on my fork and playing with it. IMO, this is must have feature.

I've found one issue: for some reason ng-repeat directive does not work inside of ui-select-group directive (yeah, I'm crazy and I need to have group labels to be huge). And I do not know why.

@Envek
Copy link

Envek commented Aug 25, 2015

Here is an example that illustrates problem with ng-repeat: http://plnkr.co/3fGeRhzjXl1CYHZhcDcO

By the way it's a nice example of custom templates for group labels, I think.

new directive uiSelectGroup for customizing the item groups header template.
if no custom group template is given, a default fallback to $group.name is used instead.
@wesleycho
Copy link
Contributor

This needs rebasing, as well as unit tests.

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

Successfully merging this pull request may close these issues.

3 participants