Category "angular"

ERROR TypeError: Cannot read property 'slice' of undefined---Typescript

how are you? I have one problem 'slice' of undefined in my project. I use autocomplete material https://material.angular.io/components/autocomplete/examples M

angular material filter button always on the bottom right corner

I want to implement a filter button on a result page like this one: Is there any angular directive that implement this. Like for example the snack bar that i

Angular Date Pipe en-NZ

I am using the angular date picker and have set the locale to en-NZ in the app module like so. { provide: LOCALE_ID, deps: [LocaleService],

ef core angular - is there a way to get and display data from database in input box depends on another input box

First Input Box will ask the user to enter employee number Second Input Box (readOnly) - employee name will be display here automatic base on employee number pr

How to Change ElectronJS App default Icon?

I am new to electronjs. I want to convert an angular app to desktop. I could achieve it successfully but the problem is that the app icon is set to default elec

How to pass NTLM credentials using angular http post call? [duplicate]

I am working on localhost where angular and web api using 2 different ports that's causing issue now. I am trying to call web api c# from angu

This expression is not callable. Type 'NgForm' has no call signatures

I have created a basic signup from in angular and got this error src/app/developers/signup/signup.component.html:55:45 - error TS2349: This expression is not c

echarts webGL acceleration

I want to use echarts in one of my projects. When I load around 1.000.000 data points my chart gets very slow. I know that echarts-gl provides webGL support but

Problems to represent a Tree using PrimeNG

I have a question about representing a tree with PrimeNG. I would like to test the representation of the tree before filling it with data from a JSON file. So I

No provider for $WebSocket angular5 with

I have some application which uses websockets, for that I was using angular2-websocket in my angular5 application. I keep getting following errors: StaticInj

Angular - Set headers for every request

I need to set some Authorization headers after the user has logged in, for every subsequent request. To set headers for a particular request, import {Headers

NgXs @selector doesn't support async functions

Inside my NGXS store I have the following async selector @Selector() static async mainState(store: IMyStore): Promise<IMyState> { return this.getActiv

How to handle multiple radio buttons - Angular

Here I have list of yes or no questions and provide radio buttons for the user to choose the answer for each individually - also providing two buttons for "All

Removing Comma from number pipe in angular2

I am a beginner in Angular 2.I'm trying to display some data using angular. this is my code part: <span>Value :</span> <span>{{myvalue| num

Property 'copy' does not exist on type 'Clipboard'

I'm trying to copy a text when a button is clicked. I tried following Angular's documentation (https://material.angular.io/cdk/clipboard/overview#programmatical

Typescript Build Fails When Adding Angular into Monorepo (Clashing of Jasmine and Jest Types)

Gist I have a Monorepo with solely Typescript packages. When I run tsc --build all packages will be compiled to Javascript. This worked fine until I added a pa

FormGroup is deprecated

I've already seen some related question & answers, but unfortunately those didn't help me much. ngOnInit(): void { this.form = this.fb.group({ new

Disable pausing and seeking video - jwplayer 8.21

Hi I am using jwplayer (8.21) for my angular project. I need to disable pausing or seeking video and here is my code: let currentTime = 0; jwplayer('pla

Prevent multiple identical http calls from Angular service

I've a service to get the data from an API in my angular app. The service is used in different components - and the same http request is send multiple times. To

How to get rid of the warning .ts file is part of the TypeScript compilation but it's unused

I Just updated angular to latest 9.0.0-next.4. I am not using routing but suddenly after updating I keep seeing this warning. How Do I remove this warning W