Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdSelect should not build a label class expression by reading attr.ngModel directly #1666

Closed
jelbourn opened this issue Feb 25, 2015 · 0 comments

Comments

@jelbourn
Copy link
Member

Code here

It is possible to have an expression in attr.ngModel that causes an error when concatenated into an expression like this. The content of ngModel should only ever be read through ngModelController.

The correct approach is to make updating the label element's class happen in the ngModelController's $render function.

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

1 participant