We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index-to-selected
http://canjs.com/doc/can-stache-converters.index-to-selected.html
Does the following work?
<select {($value)}="index-to-selected(~person, people)"> <option value="-1">Select a person</option> {{#each people}} <option value="{{%index}}">{{name}}</option> {{/each}} </select>
If not, we should make it work. Otherwise we should document it.
The text was updated successfully, but these errors were encountered:
@justinbmeyer When the -1 value is selected, the selected item should be undefined ? cc @phillipskevin
-1
undefined
Sorry, something went wrong.
Yeah, probably
add test for #22
09f8da1
I think since this is working as expected (as confirmed by #54), we can close this issue.
cherifGsoul
No branches or pull requests
http://canjs.com/doc/can-stache-converters.index-to-selected.html
Does the following work?
If not, we should make it work. Otherwise we should document it.
The text was updated successfully, but these errors were encountered: