Skip to content

Commit 8ff9c59

Browse files
committed
11.0.3
1 parent 3a93207 commit 8ff9c59

File tree

17 files changed

+29
-29
lines changed

17 files changed

+29
-29
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 11.0.2
1+
# 11.0.2 / 11.0.3
22

33
### **Bugfixes**
44

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ng-dynamic-forms",
3-
"version": "11.0.2",
3+
"version": "11.0.3",
44
"description": "A rapid form development library for Angular",
55
"repository": {
66
"type": "git",
@@ -120,4 +120,4 @@
120120
"tslint": "~6.1.1",
121121
"typescript": "~3.8.3"
122122
}
123-
}
123+
}

projects/ng-dynamic-forms/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ng-dynamic-forms/core",
3-
"version": "11.0.2",
3+
"version": "11.0.3",
44
"description": "A rapid form development library for Angular",
55
"keywords": [
66
"angular",

projects/ng-dynamic-forms/core/src/lib/service/dynamic-form-component.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class DynamicFormComponentService {
5555

5656
if (isNumber(index)) { // threat model as array child
5757

58-
const arrayRef: DynamicFormControlRef[] = this.formControls[model.id] as DynamicFormControlRef[] ?? [];
58+
const arrayRef: DynamicFormControlRef[] = this.formControls[model.id] as DynamicFormControlRef[] || [];
5959

6060
if (Array.isArray(arrayRef)) {
6161

projects/ng-dynamic-forms/core/src/lib/service/dynamic-form-layout.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class DynamicFormLayoutService {
6262
filterTemplatesByModel(model: DynamicFormControlModel, templates: DynamicFormControlTemplates): DynamicTemplateDirective[] {
6363

6464
const filterCallback: (template: DynamicTemplateDirective) => boolean = (template: DynamicTemplateDirective) => {
65-
return template.modelId === model.id ?? template.modelType === model.type;
65+
return template.modelId === model.id || template.modelType === model.type;
6666
};
6767

6868
if (templates instanceof QueryList) {

projects/ng-dynamic-forms/core/src/lib/service/dynamic-form-relation.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export class DynamicFormRelationService {
7474
return true;
7575
}
7676

77-
return condition.value === relatedFormControl.value ?? condition.status === relatedFormControl.status;
77+
return condition.value === relatedFormControl.value || condition.status === relatedFormControl.status;
7878
}
7979

8080
if (relatedFormControl && relation.match === matcher.opposingMatch) {
@@ -87,7 +87,7 @@ export class DynamicFormRelationService {
8787
return false;
8888
}
8989

90-
return !(condition.value === relatedFormControl.value ?? condition.status === relatedFormControl.status);
90+
return !(condition.value === relatedFormControl.value || condition.status === relatedFormControl.status);
9191
}
9292

9393
return false;

projects/ng-dynamic-forms/ui-basic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ng-dynamic-forms/ui-basic",
3-
"version": "11.0.2",
3+
"version": "11.0.3",
44
"description": "Basic UI package for NG Dynamic Forms",
55
"keywords": [
66
"angular",
@@ -28,7 +28,7 @@
2828
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
2929
},
3030
"peerDependencies": {
31-
"@ng-dynamic-forms/core": "^11.0.2",
31+
"@ng-dynamic-forms/core": "^11.0.3",
3232
"angular2-text-mask": "^9.0.0"
3333
},
3434
"es2015": "./fesm2015/ui-basic.js",

projects/ng-dynamic-forms/ui-bootstrap/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ng-dynamic-forms/ui-bootstrap",
3-
"version": "11.0.2",
3+
"version": "11.0.3",
44
"description": "Bootstrap UI package for NG Dynamic Forms",
55
"keywords": [
66
"angular",
@@ -30,7 +30,7 @@
3030
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
3131
},
3232
"peerDependencies": {
33-
"@ng-dynamic-forms/core": "^11.0.2",
33+
"@ng-dynamic-forms/core": "^11.0.3",
3434
"angular2-text-mask": "^9.0.0",
3535
"bootstrap": "^3.3.7",
3636
"ngx-bootstrap": "^5.0.0"

projects/ng-dynamic-forms/ui-foundation/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ng-dynamic-forms/ui-foundation",
3-
"version": "11.0.2",
3+
"version": "11.0.3",
44
"description": "Foundation UI package for NG Dynamic Forms",
55
"keywords": [
66
"angular",
@@ -29,7 +29,7 @@
2929
"url": "git+https://github.com/udos86/ng-dynamic-forms.git"
3030
},
3131
"peerDependencies": {
32-
"@ng-dynamic-forms/core": "^11.0.2",
32+
"@ng-dynamic-forms/core": "^11.0.3",
3333
"foundation-sites": "^6.3.1"
3434
},
3535
"es2015": "./fesm2015/ui-foundation.js",

0 commit comments

Comments
 (0)