Questions tagged as 'angular-6'

1
answer

Problem in production build when using CryptoJS

I have an application written in Angular 6 and there has been a need to send a hash to the client. The contractor only approved the use of crypto-js library. I did the implementation and everything works correctly in ng serve , but...
asked by 04.10.2018 / 14:41
1
answer

Position button below table is not working

With this HTML I can not position the buttons below the table. I tried several ways, the current one was another attempt. <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <for...
asked by 17.07.2018 / 18:16
1
answer

ChangeDetectionStrategy Angular

While studying Angular 6 I was seeing that it has different strategies of how the component is updated according to the Events, XHR and Observables within my application. After much research I did not find any content in Portuguese about this...
asked by 12.09.2018 / 20:00
1
answer

Void function with Spring returning null in Angular 6

I have the following code to just delete a record in the database and it should return a result with status 204-OK. I use Spring Rest in the back and a method like void with an @ResponseStatus annotation (HttpStatus.NO_CONTENT). I tested it o...
asked by 30.10.2018 / 13:25
0
answers

Picture does not appear in table

Angular use 6 and bootstrap. I have a table and did this to display an image: ........ <tbody> <tr *ngFor="let operator of dataSource"> <td>{{ operator.operatorId }}</td> <td>{{ operator.name }}</td>...
asked by 19.07.2018 / 23:53
0
answers

How to change angular version within an asp.net core project

I have an Asp.Net Core 2.0 project. Well, I need to now build some screens to make a CRUD using Angular . You should use the Angular 6 , here in the company. Well, when I added this Solution to the project in Angular the version of this...
asked by 13.07.2018 / 20:04
0
answers

Update (Put) in my project does not write to BD (MongoDB)

I need to do an editing screen and I can not. See how my component is (I deleted the imports to save space) @Component({ selector: 'app-operators', templateUrl: './operators.component.html', styleUrls: ['./operators.component.css'], pr...
asked by 22.07.2018 / 16:26
1
answer

Angular: error in model with object listing

I have these 2 templates, and the book has a list of language objects. Model book import { Language} from "./language"; export class Book { id: number; name: string; language: Array<Language>; } Model language export class L...
asked by 27.12.2018 / 18:09
1
answer

When I give a post in the form I get this error: TypeError: _co.postCreateTypeFields is not a function

This is my html: <div class="container"> <form [formGroup]="form" (ngSubmit)="postCreateTypeFields()" style="width:400px; margin: 0 auto;"> <h1>Types Fields</h1> <div class="required-field-block">...
asked by 16.07.2018 / 22:32
1
answer

Edit table in Angular 6

I have had some problems, because I am not familiar with Angular 6. I have this table: <div class="container-fluid"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table...
asked by 17.07.2018 / 19:28