Questions tagged [angular9]

Questions about Angular version 9, the web framework from Google. Use this tag for Angular questions which are specific to only version 9. Use tag Angular for any Angular questions which are not specific to an individual version

Questions about Angular version 9, the web framework from Google.

New Breaking Changes

  • Angular now compiles with Ivy by default. See Ivy compatibility section.

  • CLI apps compile in AOT mode by default (which includes template type-checking). Users who only built with JIT before may see new type errors. See our template type-checking guide for more information and debugging tips.

  • Typescript 3.4 and 3.5 are no longer supported. Please update to Typescript 3.6.

  • tslib is now listed as a peer dependency rather than a direct dependency. If you are not using the CLI, you must manually install tslib, using yarn add tslib or npm install tslib --save.


See the changelog for latest version information.

As of December 2019, the current RC version is 9.0.0-rc.7

Consider using the Update Guide for tips before changing the version.

You can read more about Angular version 9 here

1936 questions
0
votes
1 answer

Angular (click) call function and lose focus

I am using bootstrap which has a button styling where if I click the button and I lose focus it works fine. I need to be able to call a function and then lose focus on the button on the click. Example:
0
votes
1 answer

DTO gets lost in transmission POST to REST API?

My object is being lost in transmission. I (1) enter some text, (2) submit a form and (3) see the correct POST and (3) I see the objects construction is correct and (3) that the http.post method is being used. However on the ServerSide I see (4)…
Robert Green MBA
  • 1,834
  • 1
  • 22
  • 45
0
votes
1 answer

Upload files to assets folder using angular 9

I'm working on an angular 9 app and I want to build a file upload system which will be able to send files from the client side to our server and store them in the assets folder. The issue is I don't know how to send the file to the server and store…
zakaria mouqcit
  • 393
  • 2
  • 4
  • 17
0
votes
1 answer

Add item to state after updating in API call using NGRX

I am using NGRX/Entity with Angular 9 and I have the entities: export interface Post { id: number; content: string; title: string; tags: Tag[]; } export interface Tag { id: number; name: string; } And the reducer is something…
Miguel Moura
  • 36,732
  • 85
  • 259
  • 481
0
votes
2 answers

Angular *ngFor only showing 1 part of the data

I have some data that looks like this in the console: Here is a screenshot of the console: In app.component.html
{{data.City}}
This gives me 1 result when it should give my 615 (See the…
joe2020wow
  • 237
  • 5
  • 12
0
votes
2 answers

Angular 9 get data with querystring params

I am trying to get data from search API. The search value is passed as a query string. No errors at compile time, no errors at runtime. const params = new HttpParams().set('search', 'pizza'); this.http .get('/hello', { responseType: 'json',…
0
votes
1 answer

How to deploy angular9 on GAE

I followed this tutorial step by step. Only get this: Here is my app.yml runtime: python27 api_version: 1 threadsafe: true handlers: - url: / static_files: dist/fe/index.html upload: dist/fe/index.html - url: / static_dir:…
Zheyuuu
  • 151
  • 1
  • 12
0
votes
0 answers

app not initializing with prod build after converting application from angular 8 to angular 9

we have an existing application with angular 8. so now we are converting our existing application from angular 8 to angular 9. we have faced some issues while converting but all those errors got solved. we are not facing any issues with dev build…
Chinna Rao
  • 31
  • 3
0
votes
0 answers

Angular http call header shows 200 response but response data shows html instead of json data

I am using httpClient to make an http call to an api and display the items in an ngfor. It seems to work cause I have three items being displayed in my list just as the three items being return from my api. However I can't seem to access the return…
mo_maat
  • 2,110
  • 12
  • 44
  • 72
0
votes
1 answer

Why Angular 9 routing is broken when i refresh?

I have angular 9 application, I deployed it using Heroku, all work perfectly, but when a tape F5 or I copy/paste the like I get (Cannot GET /XXX/XXX), only the root link works! At first, I can go to any route, but when I refresh the page the route…
user8640638
0
votes
1 answer

Angular result for passing to variable on method

I have a method that makes a query and gets some data. I know that the data is there because console.log is showing it but it's not been passed to the variable I created so I have add it to an *ngFor loop in the .html of the component. Here is the…
joe2020wow
  • 237
  • 5
  • 12
0
votes
1 answer

Angular 9 on refresh url redirects to https on production

I am using angular 9, the issue I am facing on production is that, when ever I refresh page on browser it goes to https://subdomain.example.com/orders from http://subdomain.example.com/orders. I do not want to use ssl for subdomain. This issue is…
0
votes
1 answer

Angular material mat-table with sticky column issue with long text in column

Angular mat table sticky column functionality is not working properly when row selection checkbox column is added, getting some additional space between checkbox column and next column. And also while doing horizontal scrolling the UI is…
RRR
  • 3,509
  • 4
  • 29
  • 38
0
votes
0 answers

Class properties become undefined

I am learning Angular, and as a first project I'm trying to make a web page to play chess. For this I've made two components, with their respective classes: SquareComponent and BoardComponent. The class SquareComponent has these properties: export…
0
votes
0 answers

Angular9 application app selector html not loading with prod build

I have migrated my angular application from angular8 to 9. package.json { "name": "visur", "version": "1.4.7-alpha.3", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng…
cj devin
  • 1,045
  • 3
  • 13
  • 48
1 2 3
99
100