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

Commit 8e9fbc1

Browse files
author
Kent C. Dodds
committed
Fixing some naming of scope variables and making options optional (now that you can set app-wide config this makes a lot of sense).
1 parent 6d8da6b commit 8e9fbc1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/directives/formly-form.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ angular.module('formly.render')
66
templateUrl: 'directives/formly-form.html',
77
replace: true,
88
scope: {
9-
fields: '=fields',
10-
options: '=options',
11-
result: '=result',
9+
fields: '=',
10+
options: '=?',
11+
result: '=',
1212
formOnParentScope: '=name'
1313
},
1414
compile: function (scope, iElement, iAttrs, controller, transcludeFn) {

0 commit comments

Comments
 (0)