bst365体育投注网址大全

Questions tagged [angular]

Questions about Angular (not to be confused with AngularJS), the web framework from Google. Use this tag for Angular questions which are not specific to an individual version. For the older AngularJS (1.x) web framework, use the angularjs tag.

Filter by
Sorted by
Tagged with
0
votes
0answers
8 views

using toPromise() and observable doesn't work async

I'm a begineer using angular and firebase, and I'm stuck at some point of my learning. I'm not native english. I followed a tutorial using realtime db, but I'm now trying to exercise myself using ...
0
votes
0answers
4 views

Bitbucket Angular npm run build fails

I'm trying to set up a build pipeline on Bitbucket. I'm using a clean new Angular project. So far it looks like this - step: name: build frontend caches: - node condition: ...
0
votes
0answers
10 views

Open basic Html date control on button click

I want to open html date control (input with type='date') on click of button. Currently it is opening only on click of calendar icon which browser adds. Reference - https://stackblitz.com/edit/create-...
0
votes
0answers
18 views

How to get value of an item in an JSON sub-array based on latest date not more than given Date

I am working on a billing app using Angular. My items array returns as follows (1 item partly shown here):- items: { _id: "5ee2298f59ce2e1747cb5539" createdAt: "2020-...
0
votes
0answers
10 views

How to generate dynamic form with a child component

I am implementing a dynamic form, which can be created through a "add" button. this dynamic form is also a component, we called child component. the parent component looks just like this: &...
0
votes
0answers
8 views

FormArray Show Default Value of Input field on checkbox change event

I have a FormArray with two controls selectItem which is a Checkbox and SelectAmount which is an Input text field. Initially, I am displaying default values from an Array of Objects in the Input field ...
0
votes
0answers
11 views

Angular Material Mat-Tree-Node is placing parent element with children randomly

Angular Material Tree is taking the same data that is an array and sometimes it is taking the children and placing them on the same level as the parent element and other times it is functioning ...
0
votes
0answers
5 views

Glitch using NzModalModule

Both the create and confirm box mode dialogs at times show a completely wrong result, i.e. whereas the following is expected: Could someone point out to me where this glitch may come from? I've ...
1
vote
1answer
8 views

npm ERR! Unexpected end of JSON input while parsing near '…ain“ : ”src/index.js"' while running npm install -g @angular/cli

I get the the above error when I ran the command npm install -g @angular/cli the complete logs are as below verbose stack SyntaxError: Unexpected end of JSON input while parsing near '...ain" : &...
0
votes
1answer
21 views

Angular 10:how to compare two arrays

I have two arrays, one with colors, the other with categories "colors": [ { "buttonId": "color-cinder-spark-red", "filmCategory": 1, "name": "cinder spark red"...
0
votes
0answers
11 views

How to refactor HttpRequests in nested for-loops that use subscribe?

we have an REST-API that is frontend agnostic, which means that it always sends the IRI to its nested resources. So to retrieve some data you always have to make multiple http calls (first get the ...
0
votes
2answers
10 views

How to communicate informational message value from different components to parent component and display it all at a time in angular 8

There are four components in an angular application and each component is having some informational message. I want to communicate those messages from each component to parent component. How I can do ...
-1
votes
0answers
5 views

Ionic 3: i'm taking a photo and when and change some field in the from the photo desapears

I'm have a form where i type some description and take a photo and i send it directly to the api. The problem when i edit the description, the photo disapears. I dont want to use storage. <ion-...
0
votes
0answers
5 views

Is there a linting rule (or compiler check) that can be enabled to error on implicit types from an external module?

The problem: I'm working on an Angular project that's using a nrwl/nx monorepo structure. The issue that we're seeing can be replicated like this libs/module1/shared-class.ts export class SharedClass {...
0
votes
0answers
13 views

@HostListener('document:scroll', []) not working in IE11

I have code: @HostListener('document:scroll', []) onScroll(): void { console.log('I am scrolled' + document.documentElement.scrollTop); } But in IE11 not working, chrome and edge are ok... why? ...

15 30 50 per page
1
2 3 4 5
14939