Questions tagged [angular6]

Questions about Angular version 6, the web framework from Google. Use this tag for Angular questions which are specific to only version 6. Use tag Angular for any Angular questions which are not specific to an individual version.

Questions about Angular version 6, the web framework from Google.

You can read more about Angular version 6 here

You can find Angular version 6 official documents here

7869 questions
2
votes
1 answer

Angular 7 - Get component instance of all components declared in HTML

I am creating a page which is like a form creator. The user will click and add different components into the page, which will add entries into the "component" variable as so: Example for Component1: const childComponent =…
javapyscript
  • 720
  • 8
  • 22
2
votes
1 answer

baseUrl in tsconfig.app.json is not overiding the baseUrl in tsconfig.json

In Angular 6, I'm using ng generate application as I will have more than one application which has to share some libraries. With this approach, I have folder structure like…
sand
  • 33
  • 1
  • 6
2
votes
1 answer

Angular - Customize ngx-bootstrap Typeahead to autocomplete based on multiple values separated by comma

I have a typeahead autocomplete input box. My requirement is to show list if it matches a list of strings entered by comma. For example: If my list is : [{ deviceId: '1111111', name: 'Crafty' }, { deviceId:…
Tessy Thomas
  • 1,475
  • 12
  • 19
2
votes
1 answer

How can I keep bootstrap popover alive while the popover is being hovered in Angular 2, 4, 5, 6?

I have gone through many post on SO related to popover I endup in angularjs or javascript post. This post explains the same requirement which i need but answer is in java script and they are using bootstrap3. I have a span, I want to show popover on…
Mohini Mhetre
  • 912
  • 10
  • 29
2
votes
3 answers
2
votes
1 answer

How to send multipart request in angular 6?

I need to send a multipart request. When I am submitting the form I am getting below error from backend, Resolved exception caused by Handler execution: org.springframework.web.HttpMediaTypeNotSupportedException: Content type…
Harish Bagora
  • 686
  • 1
  • 9
  • 26
2
votes
2 answers

"@Output" decorator doesn't emit event if "event.stopPropagation()" called

I have one main component and one child
Child component renders multilevel tree structure recursively (i.e. it renders itself if there…
2
votes
1 answer

Calendly Widget not working in IE (Angular App)

I am embedding a Calendly widget into a simple Angular application. It works in Chrome, Firefox, and Edge, but just shows a blank white box in IE. The working url for the site is https://cei-demo.firebaseapp.com/schedule-an-appointment I have tried…
wingej0
  • 25
  • 1
  • 7
2
votes
0 answers

The Pros and Cons of the following two Codes

Code 1: (HTML and typescript) I have this button event in HTML and do the disable check from the typescript.
2
votes
1 answer

Get the type of property of object in Angular

I have class in Angular 6 export class classXY{ xValue: number; yValue: number; xDate: Date; yDate: Date; xName?: string; yName?: string; } in my code, I need to check the properties that have type number. let obj:…
Alaa'
  • 487
  • 3
  • 7
  • 16
2
votes
2 answers

Angular 6 mergeMap for nested api calls

With the traditional observable/subscribe pattern I am trying to get a list of clients, with each of those clients get a list of their accounts with client.id Here's what that looks like: this.httpService.getClients().subscribe(clients => { …
2
votes
1 answer

How to send Multiple Http request sequentially in Angular

I have written below code to call an API each time before post request happens, First API gets called and the second one is not getting called public post(postUrl: string, model: any): Observable { return…
Juluri Vinay
  • 105
  • 3
  • 14
2
votes
1 answer

Angular 6 routing using typescript function

I am trying to route programmatically through a function because I need a way around when clicking a link (a tag) inside an svg (since routerLink) does not work. So far this is what I have:
Brain Bytes
  • 121
  • 1
  • 12
2
votes
1 answer

window.navigator.standalone in Angular 6 missing?

Window.navigator.standalone is for checking that the website is running in PWA or not, basically, I want to show a message on the website "hey, you can install it as an app too". but I found no way other than this, especially for iOS Safari. please…
2
votes
3 answers

Ways to integrate the Jira issue collector with an Angular app?

I'm looking to create an Angular 7 app that utilizes the Jira issue collector to submit issues directly to their respective projects. When I build the app the way it is now, nothing happens. When I move the code from method "submitIssue" to under…
sgovernale
  • 21
  • 1
  • 3