File tree Expand file tree Collapse file tree 4 files changed +20
-19
lines changed
Expand file tree Collapse file tree 4 files changed +20
-19
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ This library supports Angular 7+. Please check the Version compatibility below t
2020| 3.x | 10.x |
2121| 4.x | 11.x |
2222| 5.x | 12.x |
23+ | 6.x | 13.x |
2324
2425## Installation
2526
@@ -83,10 +84,10 @@ export class Module {
8384 <div *ngIf =" iban.invalid && (iban.dirty || iban.touched)"
8485 class =" alert alert-danger" >
8586
86- <div *ngIf =" iban.errors.required" >
87+ <div *ngIf =" iban.errors.[' required'] " >
8788 IBAN is required.
8889 </div >
89- <div *ngIf =" iban.errors.iban" >
90+ <div *ngIf =" iban.errors.[' iban'] " >
9091 IBAN is invalid
9192 </div >
9293
@@ -128,10 +129,10 @@ export class Module {
128129 <div *ngIf =" ibanReactive.invalid && (ibanReactive.dirty || ibanReactive.touched)"
129130 class =" alert alert-danger" >
130131
131- <div *ngIf =" ibanReactive.errors.required" >
132+ <div *ngIf =" ibanReactive.errors.[' required'] " >
132133 IBAN is required.
133134 </div >
134- <div *ngIf =" ibanReactive.errors.iban" >
135+ <div *ngIf =" ibanReactive.errors.[' iban'] " >
135136 IBAN is invalid
136137 </div >
137138
@@ -195,6 +196,6 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`.
195196
196197## License
197198
198- Copyright (c) 2018 fundsaccess AG. Licensed under the MIT License (MIT)
199+ Copyright (c) 2018 - 2021 fundsaccess AG. Licensed under the MIT License (MIT)
199200
200201
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ This library supports Angular 7+. Please check the Version compatibility below t
2020| 3.x | 10.x |
2121| 4.x | 11.x |
2222| 5.x | 12.x |
23-
23+ | 6.x | 13.x |
2424
2525## Installation
2626
@@ -84,10 +84,10 @@ export class Module {
8484 <div *ngIf =" iban.invalid && (iban.dirty || iban.touched)"
8585 class =" alert alert-danger" >
8686
87- <div *ngIf =" iban.errors.required" >
87+ <div *ngIf =" iban.errors.[' required'] " >
8888 IBAN is required.
8989 </div >
90- <div *ngIf =" iban.errors.iban" >
90+ <div *ngIf =" iban.errors.[' iban'] " >
9191 IBAN is invalid
9292 </div >
9393
@@ -129,10 +129,10 @@ export class Module {
129129 <div *ngIf =" ibanReactive.invalid && (ibanReactive.dirty || ibanReactive.touched)"
130130 class =" alert alert-danger" >
131131
132- <div *ngIf =" ibanReactive.errors.required" >
132+ <div *ngIf =" ibanReactive.errors.[' required'] " >
133133 IBAN is required.
134134 </div >
135- <div *ngIf =" ibanReactive.errors.iban" >
135+ <div *ngIf =" ibanReactive.errors.[' iban'] " >
136136 IBAN is invalid
137137 </div >
138138
@@ -196,6 +196,6 @@ Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`.
196196
197197## License
198198
199- Copyright (c) 2018 fundsaccess AG. Licensed under the MIT License (MIT)
199+ Copyright (c) 2018 - 2021 fundsaccess AG. Licensed under the MIT License (MIT)
200200
201201
Original file line number Diff line number Diff line change 11{
22 "name" : " angular-iban" ,
3- "version" : " 5 .0.0" ,
3+ "version" : " 6 .0.0" ,
44 "description" : " Angular directives and pipes for IBAN" ,
55 "author" : " fundsaccess AG" ,
66 "repository" : {
1616 " typescript"
1717 ],
1818 "peerDependencies" : {
19- "@angular/common" : " ^12 .x" ,
20- "@angular/core" : " ^12 .x" ,
19+ "@angular/common" : " ^13 .x" ,
20+ "@angular/core" : " ^13 .x" ,
2121 "iban" : " 0.0.14"
2222 },
2323 "license" : " MIT" ,
2424 "dependencies" : {
25- "tslib" : " ^2.0 .0"
25+ "tslib" : " ^2.3 .0"
2626 }
2727}
Original file line number Diff line number Diff line change @@ -330,10 +330,10 @@ <h2>IBAN Validator with template driven form: </h2>
330330 < div *ngIf ="iban.invalid && (iban.dirty || iban.touched) "
331331 class ="alert alert-danger ">
332332
333- < div *ngIf ="iban.errors?.required ">
333+ < div *ngIf ="iban.errors?.[' required'] ">
334334 IBAN is required.
335335 </ div >
336- < div *ngIf ="iban.errors?.iban ">
336+ < div *ngIf ="iban.errors?.[' iban'] ">
337337 IBAN is invalid
338338 </ div >
339339
@@ -358,10 +358,10 @@ <h2>IBAN Validator with reactive form: </h2>
358358 < div *ngIf ="ibanReactive.invalid && (ibanReactive.dirty || ibanReactive.touched) "
359359 class ="alert alert-danger ">
360360
361- < div *ngIf ="ibanReactive.errors?.required ">
361+ < div *ngIf ="ibanReactive.errors?.[' required'] ">
362362 IBAN is required.
363363 </ div >
364- < div *ngIf ="ibanReactive.errors?.iban ">
364+ < div *ngIf ="ibanReactive.errors?.[' iban'] ">
365365 IBAN is invalid
366366 </ div >
367367
You can’t perform that action at this time.
0 commit comments