{"action":"created","issue":{"url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/130","repository_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar","labels_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/130/comments","events_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/130/events","html_url":"https://github.com/ragunathjawahar/android-saripaar/issues/130","id":122231003,"number":130,"title":"Validating hidden fields","user":{"login":"HermannK","id":4803200,"avatar_url":"https://avatars.githubusercontent.com/u/4803200?v=3","gravatar_id":"","url":"https://api.github.com/users/HermannK","html_url":"https://github.com/HermannK","followers_url":"https://api.github.com/users/HermannK/followers","following_url":"https://api.github.com/users/HermannK/following{/other_user}","gists_url":"https://api.github.com/users/HermannK/gists{/gist_id}","starred_url":"https://api.github.com/users/HermannK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HermannK/subscriptions","organizations_url":"https://api.github.com/users/HermannK/orgs","repos_url":"https://api.github.com/users/HermannK/repos","events_url":"https://api.github.com/users/HermannK/events{/privacy}","received_events_url":"https://api.github.com/users/HermannK/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-15T09:39:09Z","updated_at":"2016-06-22T13:05:28Z","closed_at":"2016-06-22T13:04:14Z","body":"Hi Ragunath, \r\n\r\nI understand from reading other issues that it is a feature. However, we've got a view that is layouted similar to an expandable list where the user can collapse sections of the view. Within these partly collapsed sections are input fields that we need to include in the validation. By collapsing a section all subviews are hidden (visibility=GONE), including the input fields.\r\n\r\nI understand from your code that the check \"if (view.isShown() & view.isEnabled()) ...\" is fix coded and there is no configurable item that enables or disables this feature. \r\n\r\nWhat do you think of making this configurable like \"checkHidden = true\" on rule level (with a default of false) or so?\r\nOr woudn't it be sufficient to change that if statement to \"if (view.isEnabled())\". Somebody who wants to exclude hidden fields from validation could still disable them. \r\n\r\nAs for now we are using @NotEmpty checks only on that view.\r\n\r\nAny help is appreciated. \r\n\r\nCheers\r\nHermann"},"comment":{"url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/comments/227736777","html_url":"https://github.com/ragunathjawahar/android-saripaar/issues/130#issuecomment-227736777","issue_url":"https://api.github.com/repos/ragunathjawahar/android-saripaar/issues/130","id":227736777,"user":{"login":"ragunathjawahar","id":1141970,"avatar_url":"https://avatars.githubusercontent.com/u/1141970?v=3","gravatar_id":"","url":"https://api.github.com/users/ragunathjawahar","html_url":"https://github.com/ragunathjawahar","followers_url":"https://api.github.com/users/ragunathjawahar/followers","following_url":"https://api.github.com/users/ragunathjawahar/following{/other_user}","gists_url":"https://api.github.com/users/ragunathjawahar/gists{/gist_id}","starred_url":"https://api.github.com/users/ragunathjawahar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ragunathjawahar/subscriptions","organizations_url":"https://api.github.com/users/ragunathjawahar/orgs","repos_url":"https://api.github.com/users/ragunathjawahar/repos","events_url":"https://api.github.com/users/ragunathjawahar/events{/privacy}","received_events_url":"https://api.github.com/users/ragunathjawahar/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T13:05:27Z","updated_at":"2016-06-22T13:05:27Z","body":"Use `validator.validateInvisibleViews(true);`, pending release."}}
{"actor":{"display_login":"ragunathjawahar"}}