angular8 Questions
2
Is there a way in angular to check whether a form control is disabled ?
this.form.get("nationality").disable()
disabled this control.
Can i check whether this control is disable on reset...
Tamper asked 9/9, 2020 at 5:47
2
Solved
Here is my html:
<ng-container *ngIf="col.data !== ''">
<ng-template [ngSwitch]="col.data">
<ng-container *ngSwitchCase="'Page'">
<div>{{get...
Intinction asked 22/8, 2019 at 16:27
3
I have attempted to use HostListener to track the scroll position to change colour of the my header.
My header component is as follows,
import { Component, OnInit, Input, HostListener, Inject } ...
Trantrance asked 2/12, 2019 at 23:35
3
Solved
I'm developing an application with angular 8 in which I have an input that contains only year number.
I have used mat-datepicker and want only to choose year.
<mat-form-field class="input-c...
Grad asked 3/2, 2020 at 10:36
10
Error
Repository is not clean. Please commit or stash any changes before updating
when i have updated from version 7 to Angular 8.
Angular Guide for upgrade https://update.angular.io/#7.0:8....
Hepplewhite asked 26/6, 2019 at 13:5
3
I want to wait for one function to finish before executing the function next to it.
I have one function called getData() in which http call occurs which returns an observable. The second function c...
Monika asked 28/7, 2020 at 14:52
2
Solved
In my angular application, I added default value of Id as 0. but when user reset the form, it cleared off.
how to reset the form with default values remaining?
here is my form :
this.createForm ...
Tuantuareg asked 10/7, 2019 at 13:30
3
Solved
How do I create a Month and Day Date Picker in Angular, excluding hide year?
This following link will do a Month and Year picker. I am trying to manipulate it, to do Month and Day. Replacing YYYY ...
Shuntwound asked 31/10, 2019 at 6:17
12
Solved
While working with NgRX 8 my colleagues and me are frequently facing a weird error message when implementing the effects.
Type 'Observable<unknown>' is not assignable to type 'Observable<A...
Lye asked 29/7, 2019 at 5:25
4
Solved
I am using ng2-pdf-viewer in my Angular 8 application.
I would like to show the PDF fit to the height of the container regardless of the width. So, PDF must take all of the height as we can do by...
5
Solved
I made a pipe to display monetary value in the Brazilian format. When squeegee everything works normally. However when running in a DEV / Prod environment on azure I get this message. The error als...
Reformer asked 2/3, 2020 at 1:24
6
I read some articles can't seem to implement lazy-loading my application. I have angular 8 installed and it seems I have the right syntax. Is there a specific strategy or way I need to have my comp...
Doscher asked 28/7, 2019 at 19:51
2
Solved
I am getting a cors policy error whenever I use Authorize attribute on my user controller.I am using Angular 8 as my front-end framework and asp .net core 3.0.0 as my backend.It is working fine if ...
Tetraspore asked 9/2, 2020 at 11:48
9
Solved
I am creating a dropdown to filter data so I have created a dropdown
<form #filter="ngForm" (ngSubmit)="filterta(filter)" style="display: flex;">
<select ngModel #month="ngModel" name="...
3
I'm tying to get the child route data('layout') from parent component using ActivatedRoute. I have tried the following example and I'm able to get the data I'm looking for but only for one time. Du...
Geis asked 3/11, 2019 at 15:52
3
I need to make my Angular project work on both IE11 and Edge, but a very simple hello world is not even showing in these two browsers.
Here's what I did:
npm version:
$npm -v
6.10.2
Angular v...
Whiny asked 5/8, 2019 at 16:8
4
I am hosting my Angular 9 application in AWS using S3 and CloudFront Service. After accessing the application I am getting following error in the browser:
Failed to load module script: The server ...
Octennial asked 25/9, 2020 at 22:11
6
Solved
I have two components, One parent and Other Child.
HTML Part
<div>
<div class="row col-md-12">
<div class="col-md-4">
<!-- Some HTML Code of Parent component over here --&...
2
Solved
I need to create a component in my project in Angular 8, I tried the following command:
ng g c prueba
but it returned back an error as:
Invalid format version detected - Expected:[ 1 ] Found...
Weatherbound asked 23/6, 2019 at 21:39
3
Solved
As it shows error during build.
ERROR in app/pages/TestPage4/TestPage4.ts:27:27 - error TS2304: Cannot find name 'google'.
27 this.geoCoder = new google.maps.Geocoder;
~~~~~~
app/pages/TestPage4/Te...
Propst asked 26/8, 2020 at 19:23
14
Solved
ERROR in node_modules/@angular/common/http/http.d.ts:2801:22 - error NG6002: Appears in the NgModule.imports of AppModule, but could not be resolved to an NgModule class
2801 export declare ...
Acrilan asked 15/2, 2020 at 14:57
2
Solved
When we have to use NO_ERRORS_SCHEMA and CUSTOM_ELEMENTS_SCHEMA in Angular?
What do they mean? Is it config for CSS styles?
7
Solved
I'm trying to use Angular Ag-Grid in my Web Application.
I've followed these tutorials
Angular Grid | Get Started with ag-Grid
ag-Grid Angular Component
Problem / Issue
I Follwed every thing...
Phil asked 6/9, 2019 at 9:16
2
We have updated an Angular app from version 7.2 to version 8. The update process has worked so far and the app can be used locally and in prod mode (on the server) on Chrome, Firefox Developer Edit...
Poppy asked 1/7, 2019 at 11:1
3
Parent Component
<form [formGroup]="User">
<app-radioButton [group]="user"></app-radiobuton>
</form>
In Radio Component html
<mat-radio-button...
Invercargill asked 25/3, 2022 at 7:48
© 2022 - 2024 — McMap. All rights reserved.