Questions tagged [angular13]

For questions regarding programming in Angular specific to version 13. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.

562 questions
0
votes
1 answer

Plotly.js not working after upgrading to Angular 13

I have upgraded my Angular project from version 12 to version 13. I use Plotly to create graphs and now I'm getting an error when starting the application: plotly.js:26321 Uncaught TypeError: Cannot read properties of undefined (reading…
lanto
  • 28
  • 3
0
votes
1 answer

Unable to call a JS function from Typescript in Angular 13

I'm trying to call the following function, LoadMultiSelect(), from one of my components because I am using a non-Angular library: https://ibnujakaria.github.io/multiple-select-js/ This works perfectly in the console: new…
Federico Navarrete
  • 3,069
  • 5
  • 41
  • 76
0
votes
1 answer

RxJs catchError changes return type

I'm trying to implement some caching and I have the below method. The catchError block is causing an error because the return type becomes Observable. I'm not seeing why it thinks it's not an array of client, or how to…
Gargoyle
  • 9,590
  • 16
  • 80
  • 145
0
votes
1 answer

How to use isOpen method in ngbtooltip for angular 13?

I want to check whether to tooltip is open or not in angular 13 with use of isOpen() method. Example:
  • 0
    votes
    1 answer

    Fetching variables & calling functions from different scope in Angular

    I have a local function say, compulsoryFunction() inside ngOnInit() which is triggered automatically by a library I'm using. I am bound to have it as a local function inside ngOnInit. Problem - I am unable to access variables or call functions…
    Swapnil Sourabh
    • 459
    • 4
    • 17
    0
    votes
    1 answer

    Data type error when fetching data from backend

    Angular is throwing the following error: "Type 'Object' is missing the following properties from type 'never[]': length, pop, push, concat, and 28 more. this.movies = data;" // movie-list.component.ts // ... export class MovieListComponent…
    kubaSpolsky
    • 357
    • 2
    • 10
    0
    votes
    0 answers

    Performance Issue After Upgarding to angular 13

    After Upgarding Project from Angular 8 to Angular 13 main.js not Caching in browser that make Refresh takes more time than previous Version How could make main.js Caching?
    S.Sultan
    • 23
    • 1
    • 7
    0
    votes
    1 answer

    Unable to display validations in angular form Angular 13

    the warning is not being displayed for the radio button after submitting the form. But after clicking reset once and submitting the form then the warning is being displayed. please check out this https://streamable.com/oticww also I am unable to…
    Chaitanya Chitturi
    • 1,129
    • 2
    • 7
    • 8
    0
    votes
    1 answer

    Angular Load component list from json file

    I am using Angular 13 and I'm looking for a way to have a list or components load by reading the component names from a json file. For example..I have a json file with the names of the components that I want to load into my…
    deszok
    • 145
    • 2
    • 14
    0
    votes
    1 answer

    Angular 13 Directive viewContainerRef.createComponent pass object to created component

    The code below with Dynamically create a component in Angular 13 The Directive: import { Directive, Input, ViewContainerRef, Type } from '@angular/core'; @Directive({ selector: '[appLoader]' }) export class LoaderDirective { @Input()…
    deszok
    • 145
    • 2
    • 14
    0
    votes
    0 answers

    Update from .NET 3.1 to .NET 6,app not working as before

    I recently migrated an Angular 13 +.NET Core 3.1 app to .Net 6, I've changed target framework from 3.1 to 6, updated all packages to v6, no changes in code (front or back). On Vps I've uninstalled net core hosting bundle 3.1 and installed…
    mrapi
    • 5,831
    • 8
    • 37
    • 57
    0
    votes
    0 answers

    Is Ngx-bootstrap compatible with angular 13 and bootstrap v3

    My project was working with angular 11 and bootstrap v3 but since I updated angular to v13 my ruby project although building spits out runtime ActionView:Template errors such as: actionview (6.1.4) lib/action_view/template.rb, line 314 which tells…
    0
    votes
    1 answer

    Angular 13 and Bootstrap 5 | UI vanishes when routes are added

    I have been developing a website for a moment but haven't been able to move past the nav. The issue I am having is that when I set up a route the entire UI vanishes and will not load. I have not been able to find anything on this or why it may be…
    Mossy
    • 3
    • 1
    0
    votes
    1 answer

    System is not defined with dynamic import in angular 13

    I have below code for dynamic load the locales declare var System; let angularLocale = convertAbpLocaleToAngularLocale(abp.localization.currentLanguage.name); System.import(`@angular/common/locales/${angularLocale}.js`) …
    San Jaisy
    • 15,327
    • 34
    • 171
    • 290
    0
    votes
    2 answers

    "upgrading" Angular 8 project to Angular 13 generated a lot of errors related to syntax and general rules

    I was working on a project last year, it was using Angular 8. I resumed the project this year, I now am using Angular 13 to make the project more actual. I was stunned by the amount of errors it threw. Many of the code I used on the ngOnInit I had…
    Diego Alves
    • 2,462
    • 3
    • 32
    • 65