Questions tagged [angular7]
Questions about Angular version 7, the web framework from Google. Use this tag for Angular questions which are specific to only version 7. Use tag Angular for any Angular questions which are not specific to an individual version.
angular7
5,216
questions
0
votes
2
answers
2k
views
Ng-Zorro nz-range-picker overflow on mobile screen
I'm using ng-zorro-antd 7.0.0 rc3 with angular 7.2.4.
My problem is: I can not scroll horizontal while using the nz-range-picker on mobile browser, it seem the element was too large with the screen, ...
22
votes
8
answers
36k
views
cdk-virtual-scroll-viewport with variable item heights
I would like to use cdk-virtual-scroll-viewport in a TimeLine view with items of different heights.
So setting itemSize="x" which, according to the documentation refers to The size of the items in ...
18
votes
2
answers
21k
views
Angular Material: mat-select default value when using reactive forms
I created a form using reactive forms and angular material mat-select which I use to create an object called "core". The core object has 2 properties: "name" and "owners". The "owners" property is an ...
2
votes
0
answers
716
views
How to call rest API of Yii2 in Angular 7
I have a Angular service which makes an API call. Here is my subscribe.service.ts file
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http'
@...
0
votes
1
answer
68
views
Error for angular 7.2 Data path ".builders['application']" should be object
I have an angular project that I have to clone first from a git source before proceeding with working on it, I cloned it, the angular version was 7.2, My nodejs i updated to 20.15.1 LTS and angular is ...
0
votes
0
answers
16
views
Angular 7 to angular 8
I am trying to upgrade my Angular 7 project to Angular 8. I've followed the necessary upgrade steps, including updating packages and configurations. However, when I try to run the project with ng ...
0
votes
2
answers
462
views
Adding a script JS to my angular7 project
For my project I need to install the "Loadingbar.js" lib to one of my pages (which you can find here: https://loading.io/progress/).
I did paste the CSS in my global "style.css" ...
0
votes
0
answers
45
views
Angular upgrade 7 to 8
When I use this command ng update @angular/cli@8 @angular/core@8
I'm encountering an issue while trying to update Angular CLI and its core packages:
Package not installed: "@angular/core". ...
6
votes
4
answers
8k
views
Angular 7: How to access query string in URL from an iframe?
The app under development is hosted within an iframe.
I have the following routes configured in my app:
const routes: Routes = [
{
path: '',
pathMatch: 'full',
redirectTo: 'list'
...
2
votes
1
answer
7k
views
How to disable es-lint error in angular 7 typescript
I am working in angular 7 with VS code.I have es-lint rules.I want to disable es-lint error at some case .Is there any plugins for this problem.
[tslint] object access via string literals is ...
3
votes
2
answers
11k
views
Best way to handle HTTPErrorResponse with Angular 7
So the backend Server returns different status code and HttpErrorResponse when there are erroneous requests from the front end; I have realised the best way to manage this is using interceptors in an ...
0
votes
1
answer
9k
views
How to set values for date range in primeng
I am trying to set value during initializing form using primeng datepick calender but not working.I am working in angular 8.I have created custom datepicker component using primeng.I have given my ...
122
votes
24
answers
128k
views
How to remove space bottom mat-form-field
I use angular 7 with angular material and i want to remove the space bottom as you can see. I tried many way but no sucess.
12
votes
8
answers
116k
views
Angular form validation to validate the phone number
I am trying to validate the phone number using regex expression in angular
HTML content
<div class="form-group row">
<input type="text" class="form-control" appPhoneMask ...
4
votes
1
answer
11k
views
PrimeNg- Sidebar Module not displaying correctly
I am trying to create a right sidebar1 Navigation (which opens on click of btn1) and inside that there should open another sidebar Navigation from top(which opens on click of btn2) where sidebar2 ...