Questions tagged as 'angular'

1
answer

Http Post No Angular

Well, I'm trying to make an http post to send a json to the server but it's giving an error. My code looks like this the imports import { Component, OnInit } from '@angular/core'; import { FormGroup, FormControl, FormBuilder } from "@angula...
asked by 25.10.2018 / 05:49
1
answer

Angular: PHP's JSON return as Undefined

I have a component calling a service that uses an API in PHP to access a table in a MySQL database and return the information in JSON format. HTML correctly displays the information in the table with 'ngFor', but I am not able to use it...
asked by 26.10.2018 / 22:46
1
answer

Sending a POST and how do I retrieve the data on the ANGLE?

onSubmit() { console.log(this.formulario.value) this.http.post(this.configUrl, (this.formulario.value)).pipe( map(res => res)) .subscribe(dados => console.log(dados)) } This is my post code, I am sending a message to the server and...
asked by 28.10.2018 / 22:45
0
answers

Table in Angular Material, problem with string interpolation

Alright? I have a problem when it comes to displaying the data in the material table, nothing appears ... If I change the tag: <table mat-table [dataSource]="dataSource" matSort class="mat-elevation-z8"> by <table mat-table [d...
asked by 22.12.2018 / 02:10
1
answer

How to configure Node Express in Angular project 6?

I'm about to send a simple project that is working perfectly on my local computer, and I need to send it to the Heroku server, so it's necessary to configure a file that will simulate the Node Express in the Angular, project that I performed wit...
asked by 06.09.2018 / 13:42
2
answers

Change value of a variable of another Angular component

Hello, I have a component that is called errorLog, inside it has a method called LogOut, which is called when I click on 1 button of logOut, however after you have removed it and redirected to the login page, however I wanted to display a text i...
asked by 05.10.2018 / 21:15
1
answer

Replication structure to insert data into a form group

I have the following form group: this.variacaoForm = this.fb.group({ variacoes: this.fb.array([this.createFormGroup()]) }); createFormGroup(): FormGroup { return this.fb.group({ valor: '', preco: null, sku: '',...
asked by 24.09.2018 / 13:50
1
answer

How to change the font size of all pages using the Range of ionic 3?

I have the following html code [settings.html] <ion-item> <ion-range min="1" max="4" step="1" snaps="true" [(ngModel)]="saturation" color="grey"> <ion-label range-left style="font-size: 12px;">A</ion-label>...
asked by 27.09.2018 / 16:14
1
answer

Error when displaying json in Angular 6

I can not display json list in html I have json in component.ts component.ts import { Component, Input, Output, EventEmitter } from '@angular/core'; import { BaseComponent } from '../../base.component' import { Atividade } from '../../...
asked by 27.09.2018 / 21:38
0
answers

Error fetching data API WooCommerce [Ionic 3 + WooCommerce Wordpress]

I can not fetch the product list home.ts import { Component } from '@angular/core'; import { NavController, AlertController } from 'ionic-angular'; import * as WC from 'woocommerce-api'; import { ProdutoDetalhePage } from './../produto-det...
asked by 05.01.2019 / 18:35