Category "angular"

Ngx material timepicker field issue in mat dialog

I'm using the ngx material timepicker field inside of a mat dialog and facing an issue where the data is properly mapped to the form group and the time also cor

Angular 8 - Upload file along with form and send to server

I have a reactive form in Angular 8. On form submission, I need to post the values along with the uploaded file to an API. But I am not quite sure of how to pos

Angular 4 AOT with webpack integration

After configure AOT with webpack in angular 4, i am facing following issue ERROR in : "let-" is only supported on ng-template elements. ("<template ngFor [

why i can't run command "npm update" in my ionic project?

I can't run command npm update or npm install in my ionic project. this is an error that I get. and here is my "ionic info"

How to add custom google maps styling xml in agm-map

I am trying to customize the google maps with the help of https://mapstyle.withgoogle.com/, custom google maps styling. I am using angular google maps(https://

event.preventDefault() or event.stopPropagation() not working with keyUp event

Directive file: I am trying to do that if my counter goes above two it should stop event or keyUp to reflect but is it not working. Can someone help me on this?

How do I prevent HTML2PDF from auto-downloading the pdf?

I have a HTML2PDF method in my JavaScript code. The code is working great on one hand as I can open the rendered pdf in a new blob tab and open the print window

Power BI embedded report in Angular 7 code is not exported with visual filters applied

We have embedded Power BI report in Angular 7 code and when we try to export using Power BI provided service it is not exporting applied filters instead it down

How to add pagination in angular material table that bind to API response

I'm new to angular. In my project shown list of products and its work correctly. My HTML code is below : <table mat-table [dataSource]="list_product" style="

Angular Material: How close overlay's backdrop also on right click?

How close the overlay's backdrop (opened by MatMenu or MatDialog) also on right click globally (without matMenu/matDialog reference)?

<iframe> downloads pdf file instead of displaying

This is my component.html <iframe [src]="frameSrc | safe" class="frameSet" type="application/pdf" frameborder="0" webkitallowfullscreen mozallowfu

How to test form controls avoiding bracket notation to preserve type checking and maintainability

The Problem My unit tests on a form break when I refactor an object's member because I can only access the formcontrols on a fromgroup by using bracket notation

angular 5 nav-menu path query

I am trying to get the Angular path query in the nav menu. Whenever I try this.route.paramMap.subscribe(params => this.Name = params.get('name'

npm ERR! A complete log of this run can be found in:

When I'm going to create new angular project using . This error occurred. Could you guys please, tell me how to solve this issue. e$ ng new angular-the-basics

Show active Tab in angular

I am trying to show the active tab in an Angular app. The trouble is that the tab is located in a sub header where as the component which dictates which tab is

Angular application throwing "inline style..." error due to CSP response header configured on server

I am working on an angular application.I am working in angular 8 application with CLI.My application is running on local server without any failure. On deployi

How to change the styling of nested child element inside a shadow DOM using angular

I want to change the font style of a child element which is wrapped inside a parent element which is internally wrapped by others and finally it is enclosed ins

Angular [disabled]="MyBoolean" not working

I have some inputs (Checkboxes) and I want them to be disabled if my Booleans are true. But its not working... The funny thing is the submit button works just f

Angular: How to store FileReader content in a variable or an array

I'm so confused about this but is there a way to store FileReader content into a variable or an array as it is, because I need that content into another compone

Disable next and previous cell in AgGrid

I have an AgGrid with ColDefs listed below and 3 columns I want to click on the middle cell and disable the first and last cell so that they cannot be clicked a