306,958 questions
1
vote
0
answers
21
views
How do I update/add table column headers to Angular Material table?
I am trying to updated the current table headers and add new column headers as well. The issue is when I change the columns to display in the typescript the data for each column disappears. For ...
0
votes
0
answers
15
views
How to use a custom Angular M3 theme?
I am having a difficult time figuring out how to use M3. I've been trying to follow Agular's documentation here.
I used ng generate @angular/material:theme-color to generate several palettes, but the ...
-1
votes
1
answer
34
views
Content not visible during scorling in Angular component
In Angular, I have three components header, lefpanel and router-outlet for all other component data/page need to display. The initial component introduction have some contents, but only partial ...
-1
votes
0
answers
29
views
a little type safety for SignalStore patchState()
I'm still new to signals. And some of my code looks like this:
withMethods((store, loader = inject(StatusLoader)) => ({
async load() {
patchState(store, {loading: true, errorMessage: ''});...
0
votes
0
answers
16
views
Angular in IntelliJ IDEA Ultimate: red underlines on <mat-*> and <app-*> tags, but code is valid
I’m working on an Angular project in IntelliJ IDEA Ultimate.
In my Angular templates (.html files), IntelliJ marks Angular Material and custom component tags with red underlines, for example:
<mat-...
0
votes
0
answers
32
views
Prerender in angular 20 latest
I have portfolio web needed help for the latest Angular 20 version for prerender options to generate static html pages for better seo purpose. Need help with how to enable prerender in website without ...
-4
votes
0
answers
32
views
Which MFE approach should I take when trying to reuse React components in an Angular project? [closed]
React v18 with Vite build tool.
Angular v19 with ESbuild.
0
votes
0
answers
28
views
Scoping Angular Material Mixins: Is there a better way?
All,
I'm trying to figure out if there is a more efficient way of scoping Angular Material mixins. Here is a simple example of applying mixin values for a snack bar class:
Our app launches a snackbar ...
0
votes
0
answers
37
views
Span is not read from a screen reader if there is no fallback message
I am trying to implement accessibility in my site, but when I use a screen reader, it ignores the text "Test message".
I have a component named Account:
<span [ngClass] ='AccountStyles'&...
0
votes
0
answers
40
views
How to use pdf.worker.js locally in angular application
I am trying to render the pdf report in the Ui using angular 14. This working fine in some environments. But in some environments it is blocked by the firewall.
Currently it is loading the internet. ...
0
votes
0
answers
16
views
MSAL logout logs out all Angular apps under the same domain
I have multiple Angular applications hosted under the same domain but in different paths:
https://my-domen/one
https://my-domen/two
https://my-domen/three
Each application is configured with MSAL for ...
1
vote
2
answers
41
views
How to synchronously read route data in AppComponent before first render
In our Angular application, our AppComponent template decides whether to show the full app layout (topbar, banner, ) or a standalone login screen.
Roughly, the template looks like this:
<ng-...
-1
votes
1
answer
41
views
How to inject a service in the configuration file in Angular
I have below piece of code which return the array of the input fields:
import { MyService } from "my-service";
export const INPUTCONFIG = (myService: MyService) => [
inputsFactory<...
2
votes
1
answer
52
views
Angular not detecting changes in scss files
I’m using Angular v20 and Tailwind CSS v4.
I have everything set up as per the documentation.
Tailwind works great — for instance, if I define an element’s class with a Tailwind utility class, the ...
0
votes
0
answers
23
views
Native Federation MF warnings after migrated to Angular 18 to Angular 20
I just updated my Shell and my microfrontend to Angular version 20 with Native Federation.
What's happening isn't an error per se, but it does give some warnings that are very annoying.
Warnings
Most ...