angular5 Questions
2
Solved
I am trying to create 6 tiles in each row and each tile consists of amount at the top left, + symbol at the top right, below Charity name, then below date at the extreme left and so on. But everyth...
Gavingavini asked 1/5, 2020 at 8:21
15
I am using PrimeNG in my angular5 app. I have issue with p-dropdown
Question
I have p-dropdown for showing countries. I bind the select options correctly there it works fine (this data coming from ...
Sicyon asked 3/4, 2018 at 6:41
5
In my Angular App , I am Showing data from API to component in input fields .
All fields are getting populated but not Input element with type Date
Below is html markup
<input [(ngModel)]="Cu...
Newmint asked 28/9, 2018 at 8:58
4
Solved
This might be a dumb question but I am new to Angular and haven't gotten an answer for this.
I was following a tutorial and have my routes set up like this for my Angular 5 project:
import { NgMo...
4
Solved
I'm using @ngx-translate for language handling in an Angular 5 app I'm creating. The app has two feature modules, one lazy loaded and one eager loaded.
The problem is that the translate pipe work...
Intermediary asked 24/1, 2018 at 8:47
9
Solved
I am trying to update my Angular app from v5 to v6 following this guide.
I have ran all these commands successfully:
npm install -g @angular/cli
npm install @angular/cli
ng update @angular/cli
...
8
Solved
I have used input type time in my application to receive time:
<mat-input-container>
<input matInput formControlName="start_time" type="time" placeholder="Time Start">
<p class="in...
Bevus asked 16/5, 2018 at 5:12
6
Solved
I have a form for uploading a file in an angular 5 app, and as I have copied it exactly from a code I had written a while ago, I can swear it had worked before.
Here is my HTML code:
<form [form...
8
Solved
How can I set default selected last button in toggle group.
This is my code.
<mat-button-toggle-group #group="matButtonToggleGroup">
<mat-button-toggle value="Heritage">
<span>...
Haematozoon asked 4/12, 2017 at 16:11
3
Im trying to implement 'rrule' for my angular calendar. It's showing me an error: [ts] 'RRule' only refers to a type, but is being used as a namespace here.
import RRule from 'rrule';
interface R...
Slipslop asked 28/8, 2018 at 6:29
11
I'm using MatSnackBar for my angular 5 project, and I cannot seem to change the color of the 'action' button.
I've injected the snack bar to my HttpInterceptor:
this.snackBar.open('Invalid Logi...
Erose asked 23/2, 2018 at 0:27
6
Solved
I am working on a angular 5 project. There are many mat-select elements which is supposed to be readonly like text boxes. I found out that there is a disabled feature which is:
<mat-form-fiel...
Classicize asked 26/6, 2018 at 6:5
2
I have created toaster(snackbar) for response message.
I want to add an html content on toaster(snackbar) so that multiple message can be display in proper format.
I have tried
var test ='<ht...
Grissom asked 28/12, 2018 at 6:3
21
Solved
I can't inject MatDialogRef as it described in documentation: https://material.angular.io/components/dialog/overview
When i'm trying to do it i'v got error:
ERROR Error: StaticInjectorError[MatDi...
Haskins asked 13/11, 2017 at 17:39
10
ag-grid provides a way to get selected rows using api.getSelectedRows() function. And provides a way to set all rows using api.setRowData([]) function.
I'm looking for something getAllRows() to ret...
10
Solved
My current url is http://localhost:4200/test/dashboard.
I want to print base url i.e http://localhost:4200 using angular 5 features.
3
I need help. I'm a complete beginner and I can't find solution anywhere, so sorry if it was already asked, but no matter what I tried I couldn't display background image on one page.
What I want t...
Valine asked 19/3, 2018 at 1:0
2
Solved
I am using the code-mirror wrapper from https://github.com/TypeCtrl/ngx-codemirror
I am trying to get the instance of Codemirror or the Editor to edit some actions but I am not able to get the ins...
Hesper asked 1/6, 2018 at 11:11
3
Solved
I am new to Angular 5.
I have created the directive for the external JS library.
But in the same directive, I am binding value to the attribute.
I am trying to sue ngAfterViewInit to detect whethe...
Impregnate asked 11/2, 2018 at 18:9
4
Solved
I have tried to remove a package by using
npm uninstall (package_name) -s
Which removed the package from package.json but didn't remove it from node_modules folder, so how can I remove these unus...
4
Solved
I would like to validate multiple number input fields by sum up their values and create a custom Validator for Angular.
Every Input looks like this:
<input type="number" min="0" max="10">
...
Maidservant asked 9/2, 2018 at 11:29
25
Solved
After migrating application from angular 5 to 6, on running ng serve the following errors pop up.
Schema validation failed with the following errors:
Data path "" should NOT have additional pro...
Babara asked 19/9, 2018 at 5:6
11
Is there any way to change color property of mat-slide-toggle component from the Angular Material component library? How to override its styling?
Or can anyone suggest me any other slide toggle for...
Hyperbola asked 13/6, 2018 at 13:45
2
Parameter 1: Time Period
{{element.value}}
Parameter 2: Gender
{{element.gender}}
<ng-container matColumnDef="column3">
<mat-header-cell *matHeaderCellDef rowspan="2"> ...
Aurel asked 23/6, 2019 at 13:39
7
I have the following code
<form #createForm="ngForm">
<mat-form-field>
<mat-select placeholder="Favorite food"
matInput
[ngModel]
food="food"
#food="ngModel" required>
&l...
Saprolite asked 28/3, 2018 at 23:8
1 Next >
© 2022 - 2025 — McMap. All rights reserved.