{"action":"opened","issue":{"url":"https://api.github.com/repos/formly-js/angular-formly/issues/148","labels_url":"https://api.github.com/repos/formly-js/angular-formly/issues/148/labels{/name}","comments_url":"https://api.github.com/repos/formly-js/angular-formly/issues/148/comments","events_url":"https://api.github.com/repos/formly-js/angular-formly/issues/148/events","html_url":"https://github.com/formly-js/angular-formly/issues/148","id":53907327,"number":148,"title":"hide not working as expected when formdata is updated","user":{"login":"skchi","id":1323288,"avatar_url":"https://avatars.githubusercontent.com/u/1323288?v=3","gravatar_id":"","url":"https://api.github.com/users/skchi","html_url":"https://github.com/skchi","followers_url":"https://api.github.com/users/skchi/followers","following_url":"https://api.github.com/users/skchi/following{/other_user}","gists_url":"https://api.github.com/users/skchi/gists{/gist_id}","starred_url":"https://api.github.com/users/skchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skchi/subscriptions","organizations_url":"https://api.github.com/users/skchi/orgs","repos_url":"https://api.github.com/users/skchi/repos","events_url":"https://api.github.com/users/skchi/events{/privacy}","received_events_url":"https://api.github.com/users/skchi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-09T19:49:57Z","updated_at":"2015-01-09T19:49:57Z","closed_at":null,"body":"First of all, thanks for the great module.\r\n\r\nBut, i am having an issue, where i get the formdata from DB and build the forms based on it. I am able to build it perfectly, but the issue is i need to show some fields based on the values in the formdata.\r\n\r\nIts works fine for the first time, but when i update the formdata, i still see the fields which needs to be hidden based on the condition.\r\n\r\nI put down a plunker with the issue.\r\n\r\nInitially i have a condition on text field to show/hide based on the type value, but when i change the formdata, it doesn't apply that condition any more.\r\n\r\nhttp://plnkr.co/edit/Vrw3Qgd0SxHkeyDOjURa?p=preview\r\n\r\n"}}