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

Commit b2939ac

Browse files
committed
fix(formlyConfig.js): added a default for fieldTransform
This fix removes the need to write formlyConfig.extras.fieldTransform = formlyConfig.extras.fieldTransform || []; and instead adds an empty array as a default value for fieldTransform. closes #517
1 parent d8dcf7c commit b2939ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/providers/formlyConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ function formlyConfig(formlyUsabilityProvider, formlyErrorAndWarningsUrlPrefix,
2424
disableWarnings: false,
2525
extras: {
2626
disableNgModelAttrsManipulator: false,
27+
fieldTransform: [],
2728
ngModelAttrsManipulatorPreferUnbound: false,
2829
removeChromeAutoComplete: false,
2930
defaultHideDirective: 'ng-if',

0 commit comments

Comments
 (0)