{"action":"reopened","issue":{"url":"https://api.github.com/repos/MarcinusX/NumberPicker/issues/26","repository_url":"https://api.github.com/repos/MarcinusX/NumberPicker","labels_url":"https://api.github.com/repos/MarcinusX/NumberPicker/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/MarcinusX/NumberPicker/issues/26/comments","events_url":"https://api.github.com/repos/MarcinusX/NumberPicker/issues/26/events","html_url":"https://github.com/MarcinusX/NumberPicker/issues/26","id":358388494,"node_id":"MDU6SXNzdWUzNTgzODg0OTQ=","number":26,"title":"Picker UI not being correctly redraw once initialValue property gets updated","user":{"login":"wizche","id":1062939,"node_id":"MDQ6VXNlcjEwNjI5Mzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1062939?v=4","gravatar_id":"","url":"https://api.github.com/users/wizche","html_url":"https://github.com/wizche","followers_url":"https://api.github.com/users/wizche/followers","following_url":"https://api.github.com/users/wizche/following{/other_user}","gists_url":"https://api.github.com/users/wizche/gists{/gist_id}","starred_url":"https://api.github.com/users/wizche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizche/subscriptions","organizations_url":"https://api.github.com/users/wizche/orgs","repos_url":"https://api.github.com/users/wizche/repos","events_url":"https://api.github.com/users/wizche/events{/privacy}","received_events_url":"https://api.github.com/users/wizche/received_events","type":"User","site_admin":false},"labels":[{"id":656369655,"node_id":"MDU6TGFiZWw2NTYzNjk2NTU=","url":"https://api.github.com/repos/MarcinusX/NumberPicker/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-09-09T15:46:58Z","updated_at":"2018-09-18T16:39:20Z","closed_at":null,"author_association":"NONE","body":"I'm experiencing the following issue:\r\n* In my model I set intialValue default to 1 (this property is mapped to the initialValue property of the picker widget)\r\n* In my widget builder method I call an async method that will load some data and update this initialValue property\r\n* I call notifyListeners/setState after the initialValue has been updated (async method finished)\r\n* the picker widget is redraw but the \"current\" value is still the old one, we see that the value has been changed because is not green anymore, meaning that it took the new value but it didn't displayed correctly (see screenshot below)\r\n\r\nWithout calling the async method, initialValue defaults to one (in green):\r\n![image](https://user-images.githubusercontent.com/1062939/45266228-f75cab00-b457-11e8-8c28-d5b09b2297d5.png)\r\n\r\nWhen calling the async method and the intialValue changed to 6, the UI doesn't reflect the new value:\r\n![image](https://user-images.githubusercontent.com/1062939/45266232-0e030200-b458-11e8-9a33-fc3c8255a489.png)\r\n\r\nThanks\r\n"}}
{"actor":{"display_login":"MarcinusX"}}