Skip to content

Commit

Permalink
chore: update ngx-formly to the version 6.3.2
Browse files Browse the repository at this point in the history
* Fixes identifiedBy type if we have no value.

Co-Authored-by: Bertrand Zuchuat <[email protected]>
  • Loading branch information
Garfield-fr committed Jun 6, 2024
1 parent 39bcaf4 commit 36ca02f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 16 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
"@biesbjerg/ngx-translate-extract-marker": "^1.0.0",
"@ng-bootstrap/ng-bootstrap": "^16.0.0",
"@ngneat/hotkeys": "^2.0.0",
"@ngx-formly/core": "^6.3.0",
"@ngx-formly/primeng": "^6.3.0",
"@ngx-formly/core": "6.3.2",
"@ngx-formly/primeng": "6.3.2",
"@ngx-loading-bar/core": "^6.0.0",
"@ngx-loading-bar/http-client": "^6.0.0",
"@ngx-loading-bar/router": "^6.0.0",
Expand Down Expand Up @@ -120,7 +120,7 @@
"@angular/cli": "^17.1.0",
"@angular/compiler-cli": "^17.1.0",
"@angular/language-service": "^17.1.0",
"@ngx-formly/schematics": "^6.3.0",
"@ngx-formly/schematics": "6.3.2",
"@types/jasmine": "^5.1.4",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ export class IdentifiedbyValueComponent extends FieldWrapper implements OnInit {
*/
private _initializeObservableAsyncRecord(obs: Observable<any>): void {
this.asyncRecord$ = obs.pipe(switchMap(([vValue, vType]) => {
if (vValue == null) {
return of(null);
}
vValue = vValue.trim();
if (!vValue) {
return of(null);
Expand Down

0 comments on commit 36ca02f

Please sign in to comment.