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

[Bug]:Select option doesn't update when changing the model #3052

Closed
YonatanKra opened this issue May 31, 2015 · 0 comments
Closed

[Bug]:Select option doesn't update when changing the model #3052

YonatanKra opened this issue May 31, 2015 · 0 comments
Assignees
Labels
needs: review This PR is waiting on review from the team type: bug
Milestone

Comments

@YonatanKra
Copy link

I've found this one when trying to manipulate the select component from the model.
Here's my scenerio:

  1. User has a select in the view
  2. UI gets an update to the model from the server:
    2.1) Change option text
    2.2) Change selection
  3. I'd expect both to change via the angular binding
    What happens is that the selection changes, but not the option.
    Here's a demo: http://codepen.io/yccteam/pen/PqWBZr
    The "server" sends the update 2 seconds after load (using $timeout to simulate this).
    Notice that even though I've changed the model to "Three", it still shows the "One", until I refresh the component in some way (close/open it).
@ThomasBurleson ThomasBurleson modified the milestone: Backlog Jul 6, 2015
@rschmukler rschmukler removed this from the Backlog milestone Jul 12, 2015
@ThomasBurleson ThomasBurleson added the needs: review This PR is waiting on review from the team label Jul 31, 2015
@ThomasBurleson ThomasBurleson modified the milestone: REVISIT Jul 31, 2015
@rschmukler rschmukler modified the milestones: 1.0-beta1, REVISIT Aug 3, 2015
@naomiblack naomiblack modified the milestones: 1.0-beta1, 0.12.0 Aug 14, 2015
@ThomasBurleson ThomasBurleson modified the milestones: 1.0-rc1, 1.0-rc2, 1.0-rc3 Oct 27, 2015
@ThomasBurleson ThomasBurleson modified the milestones: 1.0-rc3, 1.0-rc4 Nov 7, 2015
@ThomasBurleson ThomasBurleson modified the milestones: 1.0-rc4, 1.0-rc3 Nov 7, 2015
@ThomasBurleson ThomasBurleson modified the milestones: 1.0-rc4, 1.0-rc5 Nov 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs: review This PR is waiting on review from the team type: bug
Projects
None yet
Development

No branches or pull requests

4 participants