{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/AspNetCore/issues/6158","repository_url":"https://api.github.com/repos/aspnet/AspNetCore","labels_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/6158/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/6158/comments","events_url":"https://api.github.com/repos/aspnet/AspNetCore/issues/6158/events","html_url":"https://github.com/aspnet/AspNetCore/issues/6158","id":394530399,"node_id":"MDU6SXNzdWUzOTQ1MzAzOTk=","number":6158,"title":"[Blazor] Creating a onClick event causes problems with custom component binding","user":{"login":"bytedreamer","id":2985653,"node_id":"MDQ6VXNlcjI5ODU2NTM=","avatar_url":"https://avatars1.githubusercontent.com/u/2985653?v=4","gravatar_id":"","url":"https://api.github.com/users/bytedreamer","html_url":"https://github.com/bytedreamer","followers_url":"https://api.github.com/users/bytedreamer/followers","following_url":"https://api.github.com/users/bytedreamer/following{/other_user}","gists_url":"https://api.github.com/users/bytedreamer/gists{/gist_id}","starred_url":"https://api.github.com/users/bytedreamer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bytedreamer/subscriptions","organizations_url":"https://api.github.com/users/bytedreamer/orgs","repos_url":"https://api.github.com/users/bytedreamer/repos","events_url":"https://api.github.com/users/bytedreamer/events{/privacy}","received_events_url":"https://api.github.com/users/bytedreamer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-28T02:30:12Z","updated_at":"2018-12-28T02:30:12Z","closed_at":null,"author_association":"NONE","body":"### Describe the bug\r\nI am trying to create a one-way read binding from a custom component. This read occurs when a user click on a button with a onClick action. When the button is clicked the local variable on the parent assigned to the component binding appears to revert back to the initialized value.\r\n\r\n### To Reproduce\r\nSteps to reproduce the behavior:\r\n1. Using  0.8.0 Preview of Blazor\r\n2. Run this code [index.cshtml](https://github.com/bytedreamer/StringListCompare/blob/Component-Test/Pages/Index.cshtml)\r\n\r\n### Expected behavior\r\n Expect to read the StringList1 and StringList2 values from the StringLists component\r\n\r\n### Actual behavior\r\nThe values are set to empty strings. \r\n\r\nI'm going to attempt to use the new client debugging capabilities to get more details\r\n"}}
{"actor":{"display_login":"bytedreamer"}}