Skip to content
New issue

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

Models of type 'array' not working #28

Closed
nerk opened this issue Dec 11, 2014 · 1 comment
Closed

Models of type 'array' not working #28

nerk opened this issue Dec 11, 2014 · 1 comment

Comments

@nerk
Copy link

nerk commented Dec 11, 2014

Changes to the data model of type array inside a polymer element are not reflected back to angular. I had to change the handler function as follows to get it working:

var handler = function (value) {
               //if (conf.primitive) {
                   el[propertyName] = value;
               //} else {
                    //angular.copy(value, el[propertyName]);
                //}
};

Tested with Polymer 0.4.2.

@GabiAxel
Copy link
Owner

GabiAxel commented Jul 1, 2015

Version 0.3.0 should handle arrays properly. See the example of iron-selector and paper-menu.

@GabiAxel GabiAxel closed this as completed Jul 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants