GUACAMOLE-292: Use ngIf to determine visibility of guacFormField. Using ngShow collides with the ngShow used internally on the guacFormField directive's root element.

This commit is contained in:
Michael Jumper
2017-05-06 22:37:37 -07:00
parent ae7c792d10
commit 54a3ffeae3

View File

@@ -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>