Ngx-bootstrap: Angular 10 Support

Created on 25 Jun 2020  路  14Comments  路  Source: valor-software/ngx-bootstrap

Is your feature request related to a problem? Please describe.
No, just a request to support Angular 10

Describe the solution you'd like
Please update the ngx-bootstrap to support Angular 10

enhancement

Most helpful comment

PR with support for NG 10 was merged to dev, and support for NG 10 will be in 6.0.0 version, hopefully, next week

All 14 comments

As workaround, like suggested by agGrid (https://www.ag-grid.com/angular-grid/), that has the same problem, you could set
"skipLibCheck": true in tsconfig.app.json.

For example:

{
  "extends": "./tsconfig.base.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": [],
    "skipLibCheck": true
    },
  "files": [
    "src/main.ts",
    "src/polyfills.ts"
  ],
  "include": [
    "src/**/*.d.ts"
  ],
  "angularCompilerOptions": {
    "enableIvy": true,
  }
}

PR with support for NG 10 was merged to dev, and support for NG 10 will be in 6.0.0 version, hopefully, next week

Terrific news, thanks for the update. Just out of curiosity, why close the issue before the version has been released?

As workaround, like suggested by agGrid (https://www.ag-grid.com/angular-grid/), that has the same problem, you could set
"skipLibCheck": true in tsconfig.app.json.

For example:

{
  "extends": "./tsconfig.base.json",
  "compilerOptions": {
    "outDir": "./out-tsc/app",
    "types": [],
    "skipLibCheck": true
    },
  "files": [
    "src/main.ts",
    "src/polyfills.ts"
  ],
  "include": [
    "src/**/*.d.ts"
  ],
  "angularCompilerOptions": {
    "enableIvy": true,
  }
}

skipLibCheck worked for me but in the template I still have the error ERROR in There is no directive with "exportAs" set to "bs-tooltip"

Yes, I'm facing the same issue with Angular v10.x & v6.0.0

There is no directive with "exportAs" set to "bs-popover" ("-popover" placement="bottom" [adaptivePosition]="false" container="body" [outsideClick]="true"
[ERROR ->]#pop3="bs-popover" (onShown)="popUser=true; popSettings=false" (onHidden)="popUser=false">

Any idea when v6.0.0 is going to be out?

Selection_062
it's already live for almost a month :) @Gillardo

Sorry realised that once i clicked on the releases tab, but via the home screen is just showed this

image

Yeah, I don't know, why it works like that here. If you open releases tab, you will see that we had 5 more new releases

@Gillardo I've updated github releases info, now, it shows 6.0.0 :)

Confirmed, thank you!

Will it be updated to work with Angular 10? It's still causing an error.

Was this page helpful?
0 / 5 - 0 ratings