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

option directive is replacing value set by ng-value #9840

Closed
fxck opened this issue Oct 30, 2014 · 1 comment
Closed

option directive is replacing value set by ng-value #9840

fxck opened this issue Oct 30, 2014 · 1 comment

Comments

@fxck
Copy link

fxck commented Oct 30, 2014

I can't quite reproduce it on plunker BUT it is happening in this order

  1. $set() inside ng-value directive is called (https://github.com/angular/angular.js/blob/master/src/ng/directive/input.js#L2834)
  2. $set() inside option directive is called, replacing value set by ng-value (https://github.com/angular/angular.js/blob/master/src/ng/directive/select.js#L727)

It's only happening when I use ng-value, if I use value="{{ it_works }}".

anyone else's got this problem?

@fxck
Copy link
Author

fxck commented Oct 30, 2014

closing this in favor of #9842

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