-
Notifications
You must be signed in to change notification settings - Fork 27.5k
RFE: Implement <optgroup> in ng:options #450
Comments
Current plan is to support
Would that be sufficient? |
Yes, and how person.id will be incorporated for binding? |
ng:options="person.id as person.first group by person.last for person in people" ? |
yes, that will work |
Just a personal note, i think that's way too cumbersome.. Is there a reason to introduce a special rigid syntax? Compare with: ng:options="{from:people, id:'id', label:'first', group:'last'}" This allows for further expansion and providing callbacks in addition to static values for dynamic functionality. |
we are talking about same thing, and I think _ as _ group by _ for _ in _ is easier to read. We can always say _ for _ in _ or any combination there of and you can extend it in the future. We already support functions so you can say
|
Already implemented. |
No description provided.
The text was updated successfully, but these errors were encountered: