Skip to content

Commit 6e73047

Browse files
committed
chore: format sources
1 parent 7c3815f commit 6e73047

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

CHANGELOG.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ All notable changes to this project will be documented in this file. See [standa
44

55
### [2.2.1](https://github.com/EndyKaufman/ngx-dynamic-form-builder/compare/v2.2.0...v2.2.1) (2022-02-19)
66

7-
87
### Bug Fixes
98

10-
* add check type of array, check for DynamicFormArray ([6e115a5](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/6e115a55a5ebb21e7f4916b4690ab75b26c465c0))
11-
* setObject -- inconsistent behavior on FormArrays ([#195](https://github.com/EndyKaufman/ngx-dynamic-form-builder/issues/195)) ([767f540](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/767f5407ccd43f0f28fa4928550c5fd7666edc69))
12-
* the initial value of formArrayLength is unused, since it is always overwritten ([569726f](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/569726fb8f7f67579e5fc11f7c13c992e2864c5f))
9+
- add check type of array, check for DynamicFormArray ([6e115a5](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/6e115a55a5ebb21e7f4916b4690ab75b26c465c0))
10+
- setObject -- inconsistent behavior on FormArrays ([#195](https://github.com/EndyKaufman/ngx-dynamic-form-builder/issues/195)) ([767f540](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/767f5407ccd43f0f28fa4928550c5fd7666edc69))
11+
- the initial value of formArrayLength is unused, since it is always overwritten ([569726f](https://github.com/EndyKaufman/ngx-dynamic-form-builder/commit/569726fb8f7f67579e5fc11f7c13c992e2864c5f))
1312

1413
## [2.2.0](https://github.com/EndyKaufman/ngx-dynamic-form-builder/compare/v2.1.0...v2.2.0) (2022-02-09)
1514

libs/ngx-dynamic-form-builder/src/lib/lib.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ import {
55
FormControl,
66
FormGroup,
77
ValidationErrors,
8-
ValidatorFn
8+
ValidatorFn,
99
} from '@angular/forms';
1010
import {
1111
ClassConstructor,
1212
classToPlain,
13-
plainToClass
13+
plainToClass,
1414
} from 'class-transformer-global-storage';
1515
import {
1616
validate,
1717
validateSync,
18-
ValidationError
18+
ValidationError,
1919
} from 'class-validator-multi-lang';
2020
import cloneDeep from 'lodash.clonedeep';
2121
import lodashGet from 'lodash.get';
@@ -31,7 +31,7 @@ import {
3131
Observable,
3232
of,
3333
ReplaySubject,
34-
tap
34+
tap,
3535
} from 'rxjs';
3636
import { DEFAULT_CLASS_TRANSFORM_OPTIONS } from './constants/constants';
3737
import {
@@ -44,12 +44,12 @@ import {
4444
DynamicFormGroup,
4545
DynamicFormProperties,
4646
IDynamicControlMetadata,
47-
ShortValidationErrors
47+
ShortValidationErrors,
4848
} from './types/types';
4949
import { getGlobal } from './utils/get-global.util';
5050
import {
5151
getGlobalDynamicFormBuilderOptions,
52-
getGlobalDynamicFormBuilderOptionsSubject
52+
getGlobalDynamicFormBuilderOptionsSubject,
5353
} from './utils/global-dynamic-form-builder-options';
5454
import {
5555
collectDynamicFormGroupErrors,
@@ -60,7 +60,7 @@ import {
6060
replaceLastPropertyToDynamicControlOptionsByDotPath,
6161
setDynamicControlOptions,
6262
transformClassValidatorErrorsToShortValidationErrors,
63-
transformValidationErrorsToClassValidatorErrors
63+
transformValidationErrorsToClassValidatorErrors,
6464
} from './utils/utils';
6565

6666
export function createFormControls<T = Record<string, unknown>>({

0 commit comments

Comments
 (0)