entryComponents
from all NgModule declarations...No component factory found for SnackbarComponent. Did you add it to @NgModule.entryComponents?
$muted-color : rgba(0,0,0,0.6);
, and would like to use something that's part of the theme and color pallatte is such thing exists.
We'd like to add a data attribute to a mat-tab:
<mat-tab label="The Thing" data-test-id="the-thing-tab">
<other-stuff />
</mat-tab>
The data-test-id
attribute doesn't end up anywhere inside the html generated by the mat-tab
component - is there a way I'm missing to get data attributes onto material tabs?
pink-bluegrey
and I'm trying to reference the "list highlight" background color so that I can style table rows to also be navigatable. But for the life of me, I can't figure out how to reference an existing color in my themes.scss
??
@BojanKogoj
The problem is your button gets "destroyed" after clicking
Got it! How can I fix this?
And adding loading spinner to a button seems a bit odd
In my stackblitz demo, you don't have the complete behavior. I focused the code on the problem. But the idea is that the user clicks on a button that has a long action and in the meantime the button will be disabled and with a loading. The effect looks like this:
https://mat-progress-buttons.firebaseapp.com/home
ngStyles
, angular has control when to inject those styles.
[style.height]=“600px”
. To apply multiple styles, https://angular.io/api/common/NgStyle is the current recommendation.
i'm using angular material and mat-table. i'm trying to use a form array on it, but i just keep getting errors saying it can't find the control.
if i click the response or correct fields, it loads one or 2 more but i still get spammed in the console.
here's the relevant part of the html: https://summers.codes/buzuditeba.html
and here's the typescript file (warning: it's really long):
https://summers.codes/lisugurako.ts
here's what it looks like/does https://i.imgur.com/8VueGP8.png
although this isn't mat-table, this worked before https://summers.codes/awonusuyiv.html