{"action":"opened","issue":{"url":"https://api.github.com/repos/kartik-v/yii2-date-range/issues/33","labels_url":"https://api.github.com/repos/kartik-v/yii2-date-range/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/kartik-v/yii2-date-range/issues/33/comments","events_url":"https://api.github.com/repos/kartik-v/yii2-date-range/issues/33/events","html_url":"https://github.com/kartik-v/yii2-date-range/issues/33","id":65903896,"number":33,"title":"Clicking today the first time on an empty field doesn't fill it","user":{"login":"germansokolov13","id":6128235,"avatar_url":"https://avatars.githubusercontent.com/u/6128235?v=3","gravatar_id":"","url":"https://api.github.com/users/germansokolov13","html_url":"https://github.com/germansokolov13","followers_url":"https://api.github.com/users/germansokolov13/followers","following_url":"https://api.github.com/users/germansokolov13/following{/other_user}","gists_url":"https://api.github.com/users/germansokolov13/gists{/gist_id}","starred_url":"https://api.github.com/users/germansokolov13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/germansokolov13/subscriptions","organizations_url":"https://api.github.com/users/germansokolov13/orgs","repos_url":"https://api.github.com/users/germansokolov13/repos","events_url":"https://api.github.com/users/germansokolov13/events{/privacy}","received_events_url":"https://api.github.com/users/germansokolov13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-02T11:03:10Z","updated_at":"2015-04-02T11:03:10Z","closed_at":null,"body":"http://demos.krajee.com/date-range\r\nThe trouble is visible on your example. There is an empty daterange field configured with dropdown format. If you click it and choose \"Today\" nothing happens. You need to choose something else first to choose \"today\" or have not empty but rather today as a default value.\r\n\r\nIt seems the problem exists because the plugin does not support emptiness though your widget still tries to support it. I think internally the plugin is already at \"Today\" and that's why you can't make it \"Today\" again. Not supporting emptiness is sad because that way you can't use the widget for filtering the grid."}}