Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

RFE: Allow ng:options to store scalar option value when source is composite #449

Closed
unirgy opened this issue Jul 6, 2011 · 1 comment
Closed
Assignees

Comments

@unirgy
Copy link
Contributor

unirgy commented Jul 6, 2011

If source is [{id:1, name:'Option 1'}, ...] store value of "id" only in bound variable.

@ghost ghost assigned mhevery Jul 6, 2011
@mhevery
Copy link
Contributor

mhevery commented Jul 6, 2011

as discussed will update the expression to

item.id as item.name for item in items

mhevery added a commit to mhevery/angular.js that referenced this issue Jul 20, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants