{"action":"created","issue":{"url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/issues/194","repository_url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown","labels_url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/issues/194/labels{/name}","comments_url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/issues/194/comments","events_url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/issues/194/events","html_url":"https://github.com/sohobloo/react-native-modal-dropdown/pull/194","id":358015623,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzODg3ODYw","number":194,"title":"Fix displaying defaultValue and defaultIndex when data was async provided","user":{"login":"helenmak","id":26789357,"node_id":"MDQ6VXNlcjI2Nzg5MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/26789357?v=4","gravatar_id":"","url":"https://api.github.com/users/helenmak","html_url":"https://github.com/helenmak","followers_url":"https://api.github.com/users/helenmak/followers","following_url":"https://api.github.com/users/helenmak/following{/other_user}","gists_url":"https://api.github.com/users/helenmak/gists{/gist_id}","starred_url":"https://api.github.com/users/helenmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenmak/subscriptions","organizations_url":"https://api.github.com/users/helenmak/orgs","repos_url":"https://api.github.com/users/helenmak/repos","events_url":"https://api.github.com/users/helenmak/events{/privacy}","received_events_url":"https://api.github.com/users/helenmak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-09-07T10:40:52Z","updated_at":"2018-10-16T09:56:57Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/pulls/194","html_url":"https://github.com/sohobloo/react-native-modal-dropdown/pull/194","diff_url":"https://github.com/sohobloo/react-native-modal-dropdown/pull/194.diff","patch_url":"https://github.com/sohobloo/react-native-modal-dropdown/pull/194.patch"},"body":"@sohobloo \r\nThis PR will resolves issues like #181.\r\nAs you wrote, \"If the displayed value is one of the options of the dropdown, you can call select(idx) of your dropdown reference. If not, you have to give a defaultValue and select(-1)\".\r\n\r\nAfter this changes, there will be no need to do things like manually call select(id) in order to set a default Value to dropdown."},"comment":{"url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/issues/comments/430176938","html_url":"https://github.com/sohobloo/react-native-modal-dropdown/pull/194#issuecomment-430176938","issue_url":"https://api.github.com/repos/sohobloo/react-native-modal-dropdown/issues/194","id":430176938,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDE3NjkzOA==","user":{"login":"helenmak","id":26789357,"node_id":"MDQ6VXNlcjI2Nzg5MzU3","avatar_url":"https://avatars0.githubusercontent.com/u/26789357?v=4","gravatar_id":"","url":"https://api.github.com/users/helenmak","html_url":"https://github.com/helenmak","followers_url":"https://api.github.com/users/helenmak/followers","following_url":"https://api.github.com/users/helenmak/following{/other_user}","gists_url":"https://api.github.com/users/helenmak/gists{/gist_id}","starred_url":"https://api.github.com/users/helenmak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helenmak/subscriptions","organizations_url":"https://api.github.com/users/helenmak/orgs","repos_url":"https://api.github.com/users/helenmak/repos","events_url":"https://api.github.com/users/helenmak/events{/privacy}","received_events_url":"https://api.github.com/users/helenmak/received_events","type":"User","site_admin":false},"created_at":"2018-10-16T09:56:57Z","updated_at":"2018-10-16T09:56:57Z","author_association":"NONE","body":"@fungilation I have just checked it again, and it works as expected. Can you provide an example of your code?"}}
{"actor":{"display_login":"helenmak"}}