{"action":"created","issue":{"url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc/issues/439","repository_url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc","labels_url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc/issues/439/labels{/name}","comments_url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc/issues/439/comments","events_url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc/issues/439/events","html_url":"https://github.com/DmitryEfimenko/TwitterBootstrapMvc/issues/439","id":190010579,"number":439,"title":"VisibleDependsOn","user":{"login":"vanithav","id":5344030,"avatar_url":"https://avatars.githubusercontent.com/u/5344030?v=3","gravatar_id":"","url":"https://api.github.com/users/vanithav","html_url":"https://github.com/vanithav","followers_url":"https://api.github.com/users/vanithav/followers","following_url":"https://api.github.com/users/vanithav/following{/other_user}","gists_url":"https://api.github.com/users/vanithav/gists{/gist_id}","starred_url":"https://api.github.com/users/vanithav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanithav/subscriptions","organizations_url":"https://api.github.com/users/vanithav/orgs","repos_url":"https://api.github.com/users/vanithav/repos","events_url":"https://api.github.com/users/vanithav/events{/privacy}","received_events_url":"https://api.github.com/users/vanithav/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-11-17T10:49:45Z","updated_at":"2016-12-05T23:24:47Z","closed_at":null,"body":"VisibleDependsOn is not working. I am using the js version 3.0.4 downloaded from site. Is that the latest version? Is there any other depedency on jquery related files?\r\n\r\nVisibleDependsOn(m => m.OtherExplanation, \"Y\")\r\n\r\nIf i have to specify nullable bool for VisibleDependsOn, is that possible?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc/issues/comments/265011355","html_url":"https://github.com/DmitryEfimenko/TwitterBootstrapMvc/issues/439#issuecomment-265011355","issue_url":"https://api.github.com/repos/DmitryEfimenko/TwitterBootstrapMvc/issues/439","id":265011355,"user":{"login":"DmitryEfimenko","id":2098175,"avatar_url":"https://avatars.githubusercontent.com/u/2098175?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryEfimenko","html_url":"https://github.com/DmitryEfimenko","followers_url":"https://api.github.com/users/DmitryEfimenko/followers","following_url":"https://api.github.com/users/DmitryEfimenko/following{/other_user}","gists_url":"https://api.github.com/users/DmitryEfimenko/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryEfimenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryEfimenko/subscriptions","organizations_url":"https://api.github.com/users/DmitryEfimenko/orgs","repos_url":"https://api.github.com/users/DmitryEfimenko/repos","events_url":"https://api.github.com/users/DmitryEfimenko/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryEfimenko/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T23:24:47Z","updated_at":"2016-12-05T23:24:47Z","body":"yes, the `_model` is an internal property. I can make it public, but before I do so, I'd like to make sure you understand that this approach only will work on the page load because that's just a server side code running. It's much easier and probably better to just write something like this:\r\n```javascript\r\n@{\r\n    if(String.IsNullOrWhiteSpace(Model.SerialNumber)) {\r\n        @(f.FormGroup().Class(\"label-floating\").TextBoxFor(m => m.SerialNumber).Append(Html.ValidationMessageFor(m => m.SerialNumber))\r\n    }\r\n}\r\n```"}}
{"actor":{"display_login":"DmitryEfimenko"}}