Questions tagged [angular14]

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

536 questions
0
votes
0 answers

Expected identifier but found "*" [css-syntax-error] while updating angular 10 to 14

When I updated my angular version from 10 to 14, at the time of making build I have seen warning in command prompt. The error as below:- Warning: ▲ [WARNING] Expected identifier but found "*" [css-syntax-error] styles.css:1617:2: 1617 │ *cursor:…
0
votes
1 answer

How to remove @NgModule, app.module.ts files after upgrading to Angular 14+

Before Angular 14, It was mandatory to add modules to organize applicaiton with component hierarcy. After upgradation, we can optimize our code by removing modules and add dependancies to component level. What steps we need to consider while…
0
votes
0 answers

Angular DataTable : Not updating the Language in runtime

I have used angular Datatable And used TranslateModule to update the selected language. Datatable : Runtime Language Update :
{{'roles.id' |…
0
votes
2 answers

How to correctly layout the HTML for correct tabbing?

How to correctly align via HTML the Submit button and Cancel button so that when I press the "Tab" in the keyboard, it will go from "Submit" then to "Cancel"? This is the ChildModalComponent:
0
votes
0 answers

By using bootstrap modal i'm posting data on that same screen i'm trying to get data for edit with respect to id by using angular and rest API

I'm using Angular v.14 and rest api,i have bootstrap modal in navbar component its trigger button is in navbar and it's rest part is under the navbar and its modal body content is in post-product component template from that i am posting data to…
0
votes
0 answers

Angular Universal 14 Not work, Occurred Something weird error messages

Issue: Angular Universal (SSR) does not work Tech: Angular version 14, Angular CLI, Angular Universal 14 I have created a .net core 6 + angular 14 project I don't know how to solve this for running angular universal. I want to Apply Angular…
0
votes
1 answer

Angular 14 toggle menu not working / bootstrap 4.6

I am designing a homepage with angular 14. The menu I added to the header section does not open. When I get the menu samples that work on the internet and try them in my project, they don't work. My project arms are as follows. Can you help me? When…
zdnmn
  • 145
  • 2
  • 12
0
votes
0 answers

can't install version 14.2.11 of angular

I am having a lot of problems running an Angular repo. As one of my steps to solve it, I am trying to install angular/cli 14.2.11 (my colleague has that version and is able to run the repo). I have tried the following: npm uninstall -g…
apex2022
  • 777
  • 2
  • 8
  • 28
0
votes
1 answer

Assign formgroup inside a typed form group

With the introduction of typed forms in angular 14, The following forms are typed. I have a component where the formgroup group1 is initialized as follows: this.form = this.formBuilder.group({ someProp: this.formBuilder.control(""), group2:…
Isac
  • 314
  • 2
  • 15
0
votes
0 answers

Angular files (typescript files) are not getting updated in browsers inspect in Angular 14

Typescript files are not getting updated in browsers inspect in Angular 14. I have tried to delete node_module and package-lock.json file, disabled ca[enter link description here][1]che from network tab, did hard refresh, re-run the application and…
Anjali
  • 31
  • 4
0
votes
0 answers

PrimeIcons, icons lib are not showing after upgraded to angular 14

Upgraded angular version from 8 to 14, external icons lib and fontstyle, primeicons not loading from nodemodules. angular.json: "styles": [ "./node_modules/primeng/resources/primeng.min.css", …
0
votes
0 answers

How can we initiate more than 6 HTTP connections with web worker in Angular14?

I am using web worker to upload files parallelly. Once the user uploads files I am iterating over the for loop and create a worker for each file. I am not facing issues while creating multiple workers. But when I upload say 25 files then 25 workers…
Shriram
  • 121
  • 2
  • 9
0
votes
0 answers

Error: NG0204 with no specific details after Angular upgrade from 8 to 14

I have been working on this task to upgrade from angular 8 to 14. After upgrading to 14 I am seeing this Error: NG0204 error in the console on serving my app. No additional information is provided (see image attached) Seems like the error happens…
Avinash Gayam
  • 13
  • 1
  • 4
0
votes
0 answers

Angular 14 .browserslistrc and polyfills

I am looking for polyfill loading mechanism as webpack do with babel for Angular. I am still using Angular 14. I use string replaceAll in my ts code. Add chrome 70 in the .browserslistrc and hope to see related polyfill in dist file. But it does not…
karanba
  • 177
  • 2
  • 13
0
votes
1 answer

How to play blob video (avi, mov) in Angular14?

I have had this issue for a while but did not know how o fix it. I have found this similar question: how to play blob video in angular. But the problem is that even demo in the answear does noot compatible with "avi", and "mov". I am using latest…