GUACAMOLE-292: Use ngIf to determine visibility of guacFormField. Using ngShow collides with the ngShow used internally on the guacFormField directive's root element.
Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/commit/54a3ffea Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/tree/54a3ffea Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/diff/54a3ffea Branch: refs/heads/master Commit: 54a3ffeae368050ccf44aa75c501e3780edf5b38 Parents: ae7c792 Author: Michael Jumper <[email protected]> Authored: Sat May 6 22:37:37 2017 -0700 Committer: Michael Jumper <[email protected]> Committed: Fri May 26 20:16:36 2017 -0700 ---------------------------------------------------------------------- guacamole/src/main/webapp/app/form/templates/form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-guacamole-client/blob/54a3ffea/guacamole/src/main/webapp/app/form/templates/form.html ---------------------------------------------------------------------- diff --git a/guacamole/src/main/webapp/app/form/templates/form.html b/guacamole/src/main/webapp/app/form/templates/form.html index e4564e8..b58393f 100644 --- a/guacamole/src/main/webapp/app/form/templates/form.html +++ b/guacamole/src/main/webapp/app/form/templates/form.html @@ -8,7 +8,7 @@ <!-- All fields in form --> <div class="fields"> <guac-form-field ng-repeat="field in form.fields" namespace="namespace" - ng-show="isVisible(field)" + ng-if="isVisible(field)" field="field" model="values[field.name]"></guac-form-field> </div>
