{"action":"closed","issue":{"url":"https://api.github.com/repos/marmelab/admin-on-rest/issues/442","repository_url":"https://api.github.com/repos/marmelab/admin-on-rest","labels_url":"https://api.github.com/repos/marmelab/admin-on-rest/issues/442/labels{/name}","comments_url":"https://api.github.com/repos/marmelab/admin-on-rest/issues/442/comments","events_url":"https://api.github.com/repos/marmelab/admin-on-rest/issues/442/events","html_url":"https://github.com/marmelab/admin-on-rest/issues/442","id":214113986,"number":442,"title":"alwaysOn Filters impossible to reset properly","user":{"login":"remi13131","id":11832241,"avatar_url":"https://avatars3.githubusercontent.com/u/11832241?v=3","gravatar_id":"","url":"https://api.github.com/users/remi13131","html_url":"https://github.com/remi13131","followers_url":"https://api.github.com/users/remi13131/followers","following_url":"https://api.github.com/users/remi13131/following{/other_user}","gists_url":"https://api.github.com/users/remi13131/gists{/gist_id}","starred_url":"https://api.github.com/users/remi13131/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remi13131/subscriptions","organizations_url":"https://api.github.com/users/remi13131/orgs","repos_url":"https://api.github.com/users/remi13131/repos","events_url":"https://api.github.com/users/remi13131/events{/privacy}","received_events_url":"https://api.github.com/users/remi13131/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-14T15:41:11Z","updated_at":"2017-05-03T14:57:26Z","closed_at":"2017-05-03T14:57:26Z","body":"Two different bugs linked in some way about alwaysOn Filters : \r\n\r\n- When selecting a date in an alwaysOn DateInput, it is impossible to remove this filter afterward (no button of any kind, not possible to select text and delete) only by refreshing the List View \r\n(and this behavior is actually a bug https://github.com/marmelab/admin-on-rest/issues/416 so there is virtually no way to reset an alwaysOn DateInput filter)\r\nFor non-alwaysOn filters this can be achieved by removing then selecting again the filter in the list. \r\n\r\n- When typing an incorrect value in an alwaysOn NumberInput then clicking somewhere else or when focusing the field, then clicking somewhere else, this will convert to null value in the GET request made to the API, hence resulting in no-results: \r\n![issueadminonrestfilters0](https://cloud.githubusercontent.com/assets/11832241/23908595/c324242e-08d4-11e7-9cc2-c87617a8d56c.jpg)\r\nNot putting \"Null\" but removing entirely the key in the URL/request would correct this bug.\r\n\r\nI think it would be great if the small button that is displayed for non-alwaysOn Filters was still here and acting as a reset-button for alwaysOn Filters. \r\nA general button for resetting the whole filter form would be good as well."}}
{"actor":{"display_login":"fzaninotto"}}