Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
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

@fxck

Description

@fxck

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions