{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/flow/issues/3513","repository_url":"https://api.github.com/repos/vaadin/flow","labels_url":"https://api.github.com/repos/vaadin/flow/issues/3513/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/flow/issues/3513/comments","events_url":"https://api.github.com/repos/vaadin/flow/issues/3513/events","html_url":"https://github.com/vaadin/flow/issues/3513","id":295505356,"number":3513,"title":"Element methods do not work in some cases inside vaadin-dialog","user":{"login":"alexberazouski","id":28781210,"avatar_url":"https://avatars1.githubusercontent.com/u/28781210?v=4","gravatar_id":"","url":"https://api.github.com/users/alexberazouski","html_url":"https://github.com/alexberazouski","followers_url":"https://api.github.com/users/alexberazouski/followers","following_url":"https://api.github.com/users/alexberazouski/following{/other_user}","gists_url":"https://api.github.com/users/alexberazouski/gists{/gist_id}","starred_url":"https://api.github.com/users/alexberazouski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexberazouski/subscriptions","organizations_url":"https://api.github.com/users/alexberazouski/orgs","repos_url":"https://api.github.com/users/alexberazouski/repos","events_url":"https://api.github.com/users/alexberazouski/events{/privacy}","received_events_url":"https://api.github.com/users/alexberazouski/received_events","type":"User","site_admin":false},"labels":[{"id":205765017,"url":"https://api.github.com/repos/vaadin/flow/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"denis-anisimov","id":11425472,"avatar_url":"https://avatars0.githubusercontent.com/u/11425472?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-anisimov","html_url":"https://github.com/denis-anisimov","followers_url":"https://api.github.com/users/denis-anisimov/followers","following_url":"https://api.github.com/users/denis-anisimov/following{/other_user}","gists_url":"https://api.github.com/users/denis-anisimov/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-anisimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-anisimov/subscriptions","organizations_url":"https://api.github.com/users/denis-anisimov/orgs","repos_url":"https://api.github.com/users/denis-anisimov/repos","events_url":"https://api.github.com/users/denis-anisimov/events{/privacy}","received_events_url":"https://api.github.com/users/denis-anisimov/received_events","type":"User","site_admin":false},"assignees":[{"login":"denis-anisimov","id":11425472,"avatar_url":"https://avatars0.githubusercontent.com/u/11425472?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-anisimov","html_url":"https://github.com/denis-anisimov","followers_url":"https://api.github.com/users/denis-anisimov/followers","following_url":"https://api.github.com/users/denis-anisimov/following{/other_user}","gists_url":"https://api.github.com/users/denis-anisimov/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-anisimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-anisimov/subscriptions","organizations_url":"https://api.github.com/users/denis-anisimov/orgs","repos_url":"https://api.github.com/users/denis-anisimov/repos","events_url":"https://api.github.com/users/denis-anisimov/events{/privacy}","received_events_url":"https://api.github.com/users/denis-anisimov/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2018-02-08T13:08:09Z","updated_at":"2018-02-12T09:40:21Z","closed_at":null,"author_association":"NONE","body":"When there are 2 templates in dialog, and one of them initially is displayed and another one is hidden, then it's impossible to change the first shown template. Only TemplateModel methods work.\r\n\r\nCode example:\r\nhttps://github.com/alexberazouski/skeleton-starter-flow/tree/bug/dialog-templates\r\n\r\n1. Open dialog\r\n2. See initial template1\r\n3. Check checkbox\r\n4. See template2 which is changed (by both templateModel method and button method)\r\n5. Uncheck\r\n6. template1 was changed by templateModel method, but not by button.setText\r\n\r\nIn browser console I see correct messages, but they are not executed in the end"},"comment":{"url":"https://api.github.com/repos/vaadin/flow/issues/comments/364871525","html_url":"https://github.com/vaadin/flow/issues/3513#issuecomment-364871525","issue_url":"https://api.github.com/repos/vaadin/flow/issues/3513","id":364871525,"user":{"login":"denis-anisimov","id":11425472,"avatar_url":"https://avatars0.githubusercontent.com/u/11425472?v=4","gravatar_id":"","url":"https://api.github.com/users/denis-anisimov","html_url":"https://github.com/denis-anisimov","followers_url":"https://api.github.com/users/denis-anisimov/followers","following_url":"https://api.github.com/users/denis-anisimov/following{/other_user}","gists_url":"https://api.github.com/users/denis-anisimov/gists{/gist_id}","starred_url":"https://api.github.com/users/denis-anisimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denis-anisimov/subscriptions","organizations_url":"https://api.github.com/users/denis-anisimov/orgs","repos_url":"https://api.github.com/users/denis-anisimov/repos","events_url":"https://api.github.com/users/denis-anisimov/events{/privacy}","received_events_url":"https://api.github.com/users/denis-anisimov/received_events","type":"User","site_admin":false},"created_at":"2018-02-12T09:40:21Z","updated_at":"2018-02-12T09:40:21Z","author_association":"CONTRIBUTOR","body":"`setVisible`/`setValue`  shouldn't be affected by the `ExecuteJavaScriptProcessor` anyhow.\r\n\r\n`getElement().callFunction()` is just another way of JS execution.\r\nJS execution goes through `ExecuteJavaScriptProcessor`.\r\nAnd the may be postponed in some cases via the `Reactive.addPostFlushListener`.\r\nBut that should be a totally different case.\r\n\r\nAny property change shouldn't have any relation to (`ExecuteJavaScriptProcessor`).\r\nIf they have then I'm missing something fundamental. \r\nAnd this specific ticket is actually about property change (most likely for virtual children injected by `@Id`  which are the web components by themselves)."}}
{"actor":{"display_login":"denis-anisimov"}}