Skip to main content
How are we doing? Please help us improve Stack Overflow. Take our short survey

Questions tagged [angular-material]

Angular Material is an implementation of Material Design in Angular. Do not use this tag for AngularJS Material, the implementation of Material Design for the older AngularJS framework.

angular-material
-1 votes
1 answer
24 views

Drag and Drop component where both drag and drop both horizonatally and vertically in Angular

Problem statement I am trying to develop a interface which is dynamic length 2 dimensional metrics (M x N) where N is of different length and can grow and shrink. Think the interface like a checker ...
Shankar Kumar's user avatar
1 vote
0 answers
9 views

How to disable matBadge animations in Angular Material?

By clicking on the icon, I want only the number inside the matBadge to change. I don't want an animation to be made when clicking. How do I do that? <div class="action_like"> &...
Valerija's user avatar
0 votes
0 answers
20 views

how to load lazily loaded route in mat-sidebar-content?

I've a structure in Angular and we are following module based structure. Not standalone components. SideBar Component <mat-sidebar-container> <mat-sidebar> /* Sidebar Menu Items */ </...
Alok Agase's user avatar
2 votes
1 answer
35 views

How to extract colors from a palette in Material 3

With Material 2 (Angular 17) I used to extract colors with: mat.get-color-from-palette($primary, 800). What would be the equivalent in Material 3 (Angular 18)?
Johannes Schacht's user avatar
0 votes
0 answers
15 views

mat-expansion-panel: ask for confirmation before close

I have n mat-expansion-panel in a mat-accordion. Each panel contains a form to edit data the a certain entity. Since I use this: <ng-template matExpansionPanelContent> <ng-container *ngIf=&...
Marcel Lorenz's user avatar
1 vote
2 answers
24 views

Error: control.registerOnChange is not a function with reactive form

I am trying to get the mat-select to open with 'tag2' selected. It works with a string[] but not with { id: number; name: string }[]. tags: { id: number; name: string }[] = [{ id: 1, name: 'tag1' }, ...
Jack's user avatar
  • 65
0 votes
3 answers
42 views

How to resolve ngx-bootstrap Dependency Error

I got the following error, What's the meaning of this error log and do you know how to fix it ? Thanks. 137 error code ERESOLVE 138 error ERESOLVE could not resolve 139 error 140 error While resolving:...
Suikei's user avatar
  • 23
0 votes
0 answers
10 views

How to Implement Cloning, Auto-Arrangement, and Realignment of Drag-and-Drop Images in Angular CDK?

I am working on a drag-and-drop exercise in Angular. When I drag an image, it should be cloned. When I drop it into the designated container, it should be fixed to that container. If I place the image ...
Vijayalashmy's user avatar
0 votes
2 answers
35 views

Trouble with MatPaginator trying to create a generic component

I'm using angular-material to create a generic table. When I navigate to the details of an object in the table and when I want to open the table page from the menu, it does not render the data until I ...
sevila's user avatar
  • 60
0 votes
1 answer
40 views

How to Synchronize mat-paginator Page Sizes?

I'm attempting to synchronize the page sizes of multiple mat-paginators that are nested across multiple child components. I'm using a shared service to store the "global" page size. However, ...
Andrew Biddle's user avatar
0 votes
0 answers
27 views

Is there a "Hello World!" project for Angular with Material 3 and theming [closed]

I want to create a theme and apply it to my application, but I cannot get it to work. (Angular 18, Material 3 theming) I have created this styles.scss: @use "@angular/material" as mat; @...
Johannes Schacht's user avatar
1 vote
1 answer
28 views

CKeditor5 with Angular 18

I've updated an angular project from angular 13 to angular 18 but now my Ckeditor5 does not work anymore, I could not find anything related to it on the Ckeditor5 website, there is a quick start that ...
Ismael Nunes's user avatar
1 vote
1 answer
33 views

How to set text colors in Angular Material

I have an Angular app using a legacy version of Material that I need to upgrade to be a more modern non-legacy version (version 16,17,or 18). Overall this works, but now the default text is a much ...
Chris Barr's user avatar
0 votes
0 answers
21 views

How to implement drag and drop on a table list with pagination in angular?

I have a table with ngb-pagination and now I have a requirement to add drag and drop in the list.I am not able to drag an item from page 1 and drop that item in page 2. Is that possible to do it. How ...
Akshai Raj P's user avatar
1 vote
1 answer
25 views

How to customize date validation error messages in Angular?

I am working on an Angular form where I need to validate a date input field. Currently, if I enter a non-date text like "Date" in the field, I receive the error message "Date is ...
coder's user avatar
  • 505

15 30 50 per page
1
2 3 4 5
1325