{"action":"closed","issue":{"url":"https://api.github.com/repos/react-component/time-picker/issues/128","repository_url":"https://api.github.com/repos/react-component/time-picker","labels_url":"https://api.github.com/repos/react-component/time-picker/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/react-component/time-picker/issues/128/comments","events_url":"https://api.github.com/repos/react-component/time-picker/issues/128/events","html_url":"https://github.com/react-component/time-picker/issues/128","id":369909626,"node_id":"MDU6SXNzdWUzNjk5MDk2MjY=","number":128,"title":"User can enter minute values that don't comply to step size","user":{"login":"amortJ","id":24584216,"node_id":"MDQ6VXNlcjI0NTg0MjE2","avatar_url":"https://avatars3.githubusercontent.com/u/24584216?v=4","gravatar_id":"","url":"https://api.github.com/users/amortJ","html_url":"https://github.com/amortJ","followers_url":"https://api.github.com/users/amortJ/followers","following_url":"https://api.github.com/users/amortJ/following{/other_user}","gists_url":"https://api.github.com/users/amortJ/gists{/gist_id}","starred_url":"https://api.github.com/users/amortJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amortJ/subscriptions","organizations_url":"https://api.github.com/users/amortJ/orgs","repos_url":"https://api.github.com/users/amortJ/repos","events_url":"https://api.github.com/users/amortJ/events{/privacy}","received_events_url":"https://api.github.com/users/amortJ/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-14T14:52:26Z","updated_at":"2018-12-31T11:39:26Z","closed_at":"2018-12-31T11:39:26Z","author_association":"CONTRIBUTOR","body":"This is a bug with the defaultOpenValue property. It is possible to enter a time value that does not comply to the steps (hourStep, minuteStep, secondStep) properties when the property defaultOpenValue is not set.\r\nexample: <TimePicker minuteStep={15} />\r\nLets say the current time is 19:42. When the user clicks the input field and the widget pops up the header field is empty. As soon as the user selects an hour value (eg 14) the header field gets populated with a value based on the current time (eg 19:42) and only adjusts the hour value. So the header field would show 14:42. If the user then closes the widget without explicitly setting the minutes from the provided values (by clicking somewhere outside the widget) the input field contains a time value based on the current time (14:42) that does not comply to the steps property which would require the correct value to be 14:45.\r\n"}}
{"actor":{"display_login":"amortJ"}}