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

Commit d87392a

Browse files
committed
fix(formly-form): added originalModel and formOptions to getFormlyFieldLikeLocals function
added originalModel and formOptions to getFormlyFieldLikeLocals function issue #616: #616
1 parent 8042d2a commit d87392a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/directives/formly-form.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,8 @@ function formlyForm(formlyUsability, formlyWarn, $parse, formlyConfig, $interpol
369369
options: field,
370370
index,
371371
formState: $scope.options.formState,
372+
originalModel: $scope.model,
373+
formOptions: $scope.options,
372374
formId: $scope.formId,
373375
}
374376
}

0 commit comments

Comments
 (0)