Skip to content
This repository was archived by the owner on Apr 30, 2018. It is now read-only.

Commit 11c4127

Browse files
author
Kent C. Dodds
committed
Adds the ability to conditionally hide fields. Closes #16 on original repo
1 parent 971cd61 commit 11c4127

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/directives/formly-form.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
form-value="result[field.key||$index]"
55
class="formly-field"
66
form-id="options.uniqueFormId"
7-
index="$index">
7+
index="$index"
8+
ng-hide="field.hide">
89
</formly-field>
910
<button type="submit"
1011
ng-hide="options.hideSubmit">

0 commit comments

Comments
 (0)