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

Commit ab5ae4c

Browse files
author
Kamil Kisiela
committed
refactor(input): remove fieldTransform init
1 parent 11c2c54 commit ab5ae4c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/types/input/input.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ export default (formlyConfigProvider) => {
3131
}
3232
});
3333

34-
35-
if (!angular.isArray(formlyConfigProvider.extras.fieldTransform)) {
36-
formlyConfigProvider.extras.fieldTransform = [];
37-
}
38-
3934
// add only step attribute because min and max are both built-in
4035
formlyConfigProvider.extras.fieldTransform.push((fields) => {
4136
return ngModelAttrsTransformer(fields, (field) => (

0 commit comments

Comments
 (0)