Skip to content

Commit 59d53f2

Browse files
committed
feat(forms) Pass ng-model to directives
1 parent fc66e96 commit 59d53f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/directives/form.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ module fng.directives {
485485
}
486486
}
487487

488-
newElement += '></' + directiveName + '>';
488+
newElement += 'ng-model="' + info.name + '"></' + directiveName + '>';
489489
result += newElement;
490490
callHandleField = false;
491491
} else if (info.containerType) {

0 commit comments

Comments
 (0)