Skip to content

Commit 0e44701

Browse files
committed
modify conditional example
condition: "person.eligible" didn't seem to be working, neither did the proposed alternative "model.eligible" however "model.person.eligible" did work
1 parent c60ec96 commit 0e44701

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ Note that arrays inside arrays won't work with conditions.
827827
828828
829829
Specific options and types
830-
--------------------------
830+
--------------------------m
831831
832832
### input group addons
833833
@@ -1570,7 +1570,7 @@ function FormCtrl($scope) {
15701570
"eligible",
15711571
{
15721572
type: "conditional",
1573-
condition: "person.eligible", //or "model.eligable"
1573+
condition: "model.person.eligible",
15741574
items: [
15751575
"code"
15761576
]

0 commit comments

Comments
 (0)