{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/3346","repository_url":"https://api.github.com/repos/primefaces/primefaces","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/3346/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/3346/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/3346/events","html_url":"https://github.com/primefaces/primefaces/issues/3346","id":297459058,"number":3346,"title":"Calendar: dateSelect is not fired when entering date manually and leaving field with tab","user":{"login":"jmichler","id":2754419,"avatar_url":"https://avatars1.githubusercontent.com/u/2754419?v=4","gravatar_id":"","url":"https://api.github.com/users/jmichler","html_url":"https://github.com/jmichler","followers_url":"https://api.github.com/users/jmichler/followers","following_url":"https://api.github.com/users/jmichler/following{/other_user}","gists_url":"https://api.github.com/users/jmichler/gists{/gist_id}","starred_url":"https://api.github.com/users/jmichler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmichler/subscriptions","organizations_url":"https://api.github.com/users/jmichler/orgs","repos_url":"https://api.github.com/users/jmichler/repos","events_url":"https://api.github.com/users/jmichler/events{/privacy}","received_events_url":"https://api.github.com/users/jmichler/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-15T14:10:54Z","updated_at":"2018-02-15T14:13:52Z","closed_at":"2018-02-15T14:13:52Z","author_association":"NONE","body":"\r\n## 1) Environment\r\n- PrimeFaces version: 6.1.13\r\n- Does it work on the newest released PrimeFaces version? Version? No\r\n- Does it work on the newest sources in GitHub? No\r\n- Application server + version: Glassfish 4.1\r\n- Affected browsers: At leastChrome\r\n\r\n## 2) Expected behavior\r\nwhen manually entering a date into a calendar with ajax enabled (event dateSelect) that event should also be triggered\r\n...\r\n\r\n## 3) Actual behavior\r\nit is however not triggered\r\n..\r\n\r\n## 4) Steps to reproduce\r\nGo to https://www.primefaces.org/showcase/ui/input/calendar.xhtml\r\nclick into the field \"Select Event:\"\r\nEnter a date, e.g. 2/2/18\r\nPress tab\r\n=> No event is fired\r\n.. \r\n\r\n## 5) Sample XHTML\r\n<p:calendar id=\"event\" value=\"#{calendarView.date4}\">\r\n            <p:ajax event=\"dateSelect\" listener=\"#{calendarView.onDateSelect}\" update=\"msgs\" />\r\n        </p:calendar>\r\n..\r\n\r\n## 6) Sample bean\r\npublic void onDateSelect(SelectEvent event) {\r\n        FacesContext facesContext = FacesContext.getCurrentInstance();\r\n        SimpleDateFormat format = new SimpleDateFormat(\"dd/MM/yyyy\");\r\n        facesContext.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, \"Date Selected\", format.format(event.getObject())));\r\n    }\r\n..\r\n"},"comment":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/comments/365938770","html_url":"https://github.com/primefaces/primefaces/issues/3346#issuecomment-365938770","issue_url":"https://api.github.com/repos/primefaces/primefaces/issues/3346","id":365938770,"user":{"login":"tandraschko","id":2485545,"avatar_url":"https://avatars1.githubusercontent.com/u/2485545?v=4","gravatar_id":"","url":"https://api.github.com/users/tandraschko","html_url":"https://github.com/tandraschko","followers_url":"https://api.github.com/users/tandraschko/followers","following_url":"https://api.github.com/users/tandraschko/following{/other_user}","gists_url":"https://api.github.com/users/tandraschko/gists{/gist_id}","starred_url":"https://api.github.com/users/tandraschko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tandraschko/subscriptions","organizations_url":"https://api.github.com/users/tandraschko/orgs","repos_url":"https://api.github.com/users/tandraschko/repos","events_url":"https://api.github.com/users/tandraschko/events{/privacy}","received_events_url":"https://api.github.com/users/tandraschko/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T14:13:52Z","updated_at":"2018-02-15T14:13:52Z","author_association":"MEMBER","body":"Expected behavioar.\r\nYou need to define a change envet for this purpose.\r\nchange and dateSelect catches both cases:\r\n\r\n`                                <p:ajax  event=\"dateSelect\" />\r\n                                <p:ajax  event=\"change\" />\r\n`\r\n"}}
{"actor":{"display_login":"tandraschko"}}