All Questions
266 questions
0
votes
1
answer
50
views
Load all Angular Material Style in single CSS file, instead of loading style at runtime
In my Angular 8 Application multiple style tags are getting generated at runtime for Angular Material. I want to add some CSP attribute all my style tag after build is completed.
For that I want my ...
1
vote
0
answers
121
views
Angular Material mat-paginator per-page Dropdown Position
I'm working on an Angular 8.0.0 project using "@angular/material": "8.0.1"
For the mat-paginator there are per-page options [5, 10, 20, 50, 100]
When selecting any of the options, ...
-1
votes
1
answer
2k
views
migration angular 8 to 9
while migration from angular 8 to 9, i installed angular dependecies one by one using npm i (@angular/core, @angular/cli @angular/material ect ...)
reading the documentation using ng update must fix ...
-4
votes
1
answer
478
views
[attr.disabled]="isChecked == true ? ' ' : disabled"
[attr.disabled]="isChecked == true ? '' : disabled"
I want to disabled unchecked checkbox in loop.please helpme.angular 8
[attr.disabled]="isChecked == true ? '' : disabled".in ...
0
votes
0
answers
223
views
Angular - Mat-paginator is not working for multiple mat-tabs to display excel data
I'm trying to use mat-tabs to display excel data each tab contains mat-paginator, but mat-paginator only works for first tab rest of the tabs paginator is not working. I need mat-paginator to work on ...
0
votes
2
answers
437
views
How to stay on the same mat-tab if user click on full view and come back
1)Check [image one] if the user clicks on that tile we are showing full view page [image 2] to him
2)After clicking the left-side blue color back icon we need to redirect him to the back page where he ...
0
votes
1
answer
921
views
How to check default first radio button in angular material
Trying to checked the first radio button as default. But I do not know how to do it. If any one knows please help to find the solution.
app.component.html:
<div class="input">
...
7
votes
3
answers
7k
views
FormControlName must be used with a parent FormGroup directive when FormGroup is passed to child component
Parent Component
<form [formGroup]="User">
<app-radioButton [group]="user"></app-radiobuton>
</form>
In Radio Component html
<mat-...
0
votes
1
answer
1k
views
How to show focus icon on Active tab in Angular Material
I am using Angular material and dynamically generating the tabs in HTML.
Now i wanted to show drop arrow icon on active or selected tabs.
I have created below code but every time it is returning false ...
0
votes
1
answer
2k
views
Synchronize 2 separate scrollbars in Angular 8
I have a sidenav inside of another sidenav, each with their own scrollbar. I want to find a way to synchronize both of them so when one scrolls up or down the other one does the same.
Here's the code ...
-2
votes
1
answer
607
views
Material date empty condition check Update button disable
Team,
I am using Angular Mat date picker where I hve a condition that is if any of the mat datepicker is empty my update button should be in disabled mode.
In my code I am checking null but still ...
5
votes
2
answers
306
views
Angular material Date validation not happening as expected
I am working on mat-datepicker where the User can enter the value and choose the date with my code It's working properly. I have an update button by default it will be in disabled mode. When the user ...
0
votes
2
answers
3k
views
Using MatSort of Angular Material
I have this in my customer.component.ts:
import { Component, OnInit, ViewChild, AfterViewInit } from '@angular/core';
import { NorthwindService } from 'swagger';
import {LiveAnnouncer} from '@angular/...
0
votes
1
answer
2k
views
Angular mat datepicker manually enter date not working
I am using material date picker for my date picker. I am trying to enter the date manually
With my current scenario where I was able to enter number 1 The date is taking as 01-JAN-2021
If I Enter the ...
-2
votes
1
answer
2k
views
Center the center of an Angular Material icon [duplicate]
I am trying to center an Angular Material icon in a rectangle:
As shown in the picture, the icon is (more or less) centered; however, it's actually somewhat off center. I think (but admittedly can't ...