Most voted "angular-8" questions
Use this tag for specific questions about version 8 of Angular, Google’s web framework. Use the [angular] tag for any question about Angular that is not specific to an individual version.
Learn more…27 questions
Sort by count of
-
3
votes1
answer212
viewsAngular 8 - reactive form Directive and disabled attribute
After I upgraded from Angular 7 to Angular 8 in an application the [disabled] stopped working in various parts of the template. And to load the application I needed to change to [attr.disabled]. I…
-
2
votes0
answers35
viewsAngular8 - How to remove a <style> from a <div> by its class?
I’m using a library called angular-gauge-Chart to insert a gauge gauge gauge in my application. It works perfectly, however, it has some styles, like style='350px', which are default and I can’t…
-
1
votes0
answers80
viewsToastcontainer - Error giving build --Prod
When I run the project in dev works perfectly, when I try to give the build in Prod, of that mistake... WARNING in Invalid Animation value at 221:41. Ignoring. < That one I solved ERROR in Error…
-
1
votes1
answer198
viewsAngular 8 - Difficulty recovering headers
Save guys, I’m trying to get the header of the return of my http request to log in. In the header of this Response contains a key 'Authorization', but with the following code I am not able to get…
-
1
votes1
answer297
viewsPopular table at angle 8
Good morning, I am trying to popular a table on my system, because the backend done in spring sends me a JSON as follows, an object with several lists inside, example: { "contasDespesasQuitadas": […
-
1
votes0
answers76
viewsLoad a component into another template
I have an angle app with a Drawer. The application usually works by displaying its contents in the Drawer/content central panel. However, by clicking on a button you need to open a new tab in the…
-
1
votes1
answer1679
viewsHow to call functions of the parent component in the child component?
I have a child component staying at the father’s, as follows: Parent component: @Component({ selector: 'app-componente-pai', template: ` <p id="elemento">componente pai</p>…
-
1
votes0
answers59
viewsFormat html text structure of the same format as a Word file
I’m searching more I’m not able to find anything like it. Create a modal with a service contract structure based on a word. As attempts copy this text directly to my html content. However it does…
-
0
votes1
answer63
viewsHow to change the visibility of an input by selecting an item in select and not changing all in ngFor
When you select the 'title' item it is to hide the input. But when I select another item from another ngFor index, the input selected 'title' is displayed again. Example…
-
0
votes0
answers48
viewsCommunication between parent and child component
Hello! I have a parent component the Connectorwizardmodalcomponent and a child component Connectorwizardcomponent. The child component extends from Cdkstepper, and in the parent component I have an…
angular-8asked 4 years, 6 months ago Rafaela Castro 11 -
0
votes1
answer79
viewsUse parent component function in angular child component
I’ve been trying to fire a function of a parent component into a child component and I can’t, someone’s done something like?
-
0
votes1
answer115
viewsWhere to save data in Angular where it can be accessed from anywhere and, when changing it, update component
Good people, my question may be really stupid, but it’s because I’m studying about Angular and how to use it. I wonder where I can save data that, by changing it, I can recover anywhere in the…
angular-8asked 5 years, 2 months ago Gilvan André 504 -
0
votes1
answer355
viewsHow to place a spinner on the button according to the service. Angular 2+
How do I put a spinner in a button and this spinner will disappear only when the data is sent.... In case the data is not sent or give some problem in the server the spinner is there loading. I am a…
-
0
votes1
answer49
viewsBootstrap 4 does not place columns side by side in Angular8
Good afternoon, you guys. I don’t know what’s going on with Bootstrap in a project that I’m doing that it doesn’t put the columns side by side. I tried to change the size, I tried to remove the Rows…
-
0
votes1
answer905
viewsHow to configure Bootstrap 4 with Angular 8.3.6 using angular.json
I am trying to configure Bootstrap 4 in Angular 8.3.6, I am following the following steps: ng new novaAplicação (create the project) npm install bootstrap jquery popper.js --save (install libraries)…
-
0
votes0
answers52
viewsRun list without scrolling data
I have a Dashboard, on which in a header I call a list after clicking a button. Everything is ok with return and sorting, my problem is in the matter of layout, I wish I had kept only overlapping…
-
0
votes1
answer119
viewsChange graphics colors with chartjs
Guys, I’m using Chartjs to create a Dashboard and I wanted to change the colors of the graphics. I found the Patternomaly library that assists in these changes, but I am not knowing how to import in…
-
0
votes0
answers565
viewsAngular 8: CPF/CNPJ field returning empty in editing when changing the mask dynamically with Ngx-Mask!
My input > client.html <div class="form-group col-lg-2"> <label for="tipo">Tipo Pessoa:</label> <select name="tipo" class="form-control form-control-sm"…
-
0
votes1
answer250
viewsHow to keep data on screen by clicking the back button with Angular 8
I am studying angular by implementing a small application of questionnaires I came across the following problem. when clicking the back button, I noticed that my selected options were gone, there is…
angular-8asked 4 years, 4 months ago Alexsandro Andrade 11 -
0
votes0
answers25
viewsUse Angular 8 with angular/core in webpack.Exports externals
I am with an Angular 8 project and would like to get the javascript files of a CDN. For example, I have rxjs and instead of it being part of the build, I would like it to be obtained in Runtime from…
-
0
votes0
answers60
viewsProperty 'Foods' is private and only accessible Within class 'Mainlifecyclecomponent'
How to access private attributes within html? I created private food, but I can’t access it in html because it’s private. has some way to access? main-Lifecycle.ts import { Client } from…
-
-1
votes1
answer65
viewsUnsubscribe does not work in RXJS, what is the correct method of use?
I made a code to monitor a map using the nativescript-Geolocation and the nativescript-google-maps-sdk, there is an Angular service that encapsulates all the logic of access to the…
-
-1
votes2
answers560
viewsAngular Deploy 8 Heroku
I am doing the Deploy of an Angular8 application, but it seems that Angular is not building in this process. It is possible to inspect the code in the browser, but nothing is rendered. Below are the…
-
-1
votes1
answer509
viewsChange a component through another component - Angular 8
Guys, I have a Nav component where owns the company logo and a Home component, however, Home could not exist the logo I have in Nav. What would be the hidden forms of the logo when the home route…
-
-1
votes1
answer60
viewsMap Formgroup to an object
I would like to know if you have any better way to do the assignment of the values of a formGroup on an object. The bass follows what I did, but I think it’s kind of weird, but I also couldn’t find…
-
-1
votes1
answer411
viewsHow to protect routes at angle 8?
I am migrating an application from Angular 8 and a great difficulty that I am having is in the routing system, in my application and mandatory this logged in for all routes except for login and…
-
-2
votes1
answer497
viewsAngular 8 scroll manipulation
I am developing a component in Angular version 8 and in the html part of the component I am using the following navbar: https://bootsnipp.com/snippets/kl8Q3 but when I try to embed javascript in my…