Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

What should named scopes do when the scope *name* is bound to an input value #12

Open
rafaelw opened this issue Nov 28, 2013 · 1 comment

Comments

@rafaelw
Copy link
Contributor

rafaelw commented Nov 28, 2013

Moved from: googlearchive/TemplateBinding#109

i.e.

<template repeat="{{ user in users }}">
   <input value="{{ user }}">
</template>

Seems like the two choices are

  1. Up the element position in the iterated Array. This seems scary, as it will destroy the instance and create a new one

  2. Issue a warning.

@jmesserly
Copy link
Contributor

agree option 1 is scary ... it also wouldn't work if there was a filter involved
would option 2 mean a console.warn? that seems reasonable.

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