Category "angular"

Value is getting empty after using jquery nice select plugin in angular

I have a form select in reactive form which works fine when no external plugins use. I used jquery nice select plugin and this time i discovered that it's getti

How to generate a side-by-side view of a Google-translated webpage in Angular

We would like to embed Google-translated webpages in our Angular application using a side-by-side view, rather than just a link. For example, https://www-amazon

angular 7 TypeError: Cannot read property 'hasOwnProperty' of undefined

Yes there are dozens of occurrences of similar questions here on SO, and that's kind of the problem. They're all so generic as to be unhelpful. I understand w

Getting Warning: Accessing non-existent property 'aaa' of module exports inside circular dependency

I am receiving Warning: Accessing non-existent property 'aaa' of module exports inside circular dependency while i import an module inside myfile. file1.js cons

angular 13 form validation dynamic input textbox show error on touch

angular 13 form validation dynamic input textbox validation I'm adding input text boxes dynamically. But form validations are showing by default when I click ad

How can I prevent navigation when a button is clicked within a table row that has a routerLink?

I have an angular material table that has the following structure. <table mat-table [dataSource]="myTable" matSort> <ng-container matColumnDef="colu

Get value from radio button Angular Material Dialog

I have Angular Material dialog , where I updating table clicking change status. I need to get value from radio button in my dialog Here is full working exampl

Ionic invalid package name __ngcc_entry_points__.json

I'm almost finished developing my application with ionic and angular. Unfortunately, I'm totally stuck. I can't build my application (on android) anymore. Here'

Currency Pipe not found error inside the ionic 5 component

I'm using a currency pipe inside my page module without any issues. However, it shows a 'not found error' when using it inside a modal component. example usage

Angular CLI command issue: "Unknown option: '--spec'"

I am running this command: C:\Users\Murali\my-first-app>ng g c abcde5 --dry-run -t -s --spec=false I am receiving the following error: Unknown option: '--

How to check which changedetectionStrategy is used in component

Is there a way to find out which changedetectionStrategy is actually used by components. I have a very large angular application which uses onPush on the outer

Angular material slide toggle capturing state

I've got a fairly basic slide toggle. I'd like to perform an HTTP call once the slider has been toggled and in case my HTTP call fails, revert it back to the in

ng-bootstrap Datepicker defaulting the navigation year to 10 years before the current date

I believe the default behaviour is to default the Year navigation to the current year with 10 years prior as the minimun date and 10 years forward as the maximu

Access to XMLHttpRequest has been blocked by CORS policy

I've a problem when I try to do PATCH request in an angular 7 web application. In my backend I have: app.use((req, res, next) => { res.set({ "A

angular audio play on ngoninit not working

html code: <audio id="notification" src="../assets/audio/notification.mp3" autoplay="true" muted="muted"></audio> ts code: let audioPlayer = <H

Input not rendered for ion-input in tests

I have a simple form with two fields: username and email. My test looks like this: ... fit('should create', () => { console.log(fixture.debugElement.nat

How to detect dead or unused code in Angular?

I and my team are working on an angular application from more than a year now. As part of our code refactoring process we want to delete unused or dead code fro

How to clear pre-defined blockly custom blocks in Angular

I have some problem initializing custom blocks I created blockly custom blocks to modal export const ConditionBlocklyBlock: Block[] = [ { type: 'SUM_MAT

ngx-webcam how to identify if user allowed webcam permission or not - Angular 4+

I'm having issue with ngx-webcam plugin in Angular4+, as i'm using this plugin to capture images in my application but when user doesn't allow permission of usi

How to convert ArrayList to Pageable object springboot

I was trying to return list as page object to my client side angular Application. But it return all the list not a page. this is my server side controller m