Questions tagged as 'angular'

1
answer

Problem when running ng build Angular

Hello, I'm having an Angular problem when I run the following command for building in the ng build --prod --aot=false project directory, how do I solve the problem? What is the reason why this error is occurring? Following is the error lo...
asked by 06.11.2018 / 17:49
0
answers

Angular 6 - Can Deactivate Guard not working

I'm having trouble making Can Deactivate work in my application. In the file form.component.html I have the following code: <div class="form-group"> <label for="quoteType">Quote Type</label> <select...
asked by 06.11.2018 / 17:49
0
answers

Working with multiple selects in form group

I have two selects: <div class="select"> <select [class.disabled]="loadingcadastro" (change)="getIdTipoVariacao(item.value.tipo, i)" formControlName="tipo" class="select-text"> <option class="dropdown-item" selected>...
asked by 06.11.2018 / 12:19
1
answer

Local variable within a ngFor

I have an input text inside an ngFor and I would like to define a dynamic local variable that would have a unique id value for each input, so I can perform the .focus () of this input, but I do not know how to do this , I have tried in many ways...
asked by 12.11.2018 / 15:24
0
answers

Problems to run Widfly 14

I'm doing a course where I create a client registry, but by the time I'm going to run the server Widfly 14, I get the following error: Can you help me please?     
asked by 12.11.2018 / 14:30
0
answers

(Angular 6) Use of BehaviorSubject to subscribe in localStorage

I'm working with a basic CRUD which should be saved in localStorage , and obviously with all operations working normally (register, delete and update). No problems with this part, I'm working with temporary arrays and only later saving in...
asked by 04.11.2018 / 01:04
0
answers

Angle interceptor only works on main module

I have an angled interceptor 6 it works normally when I import into the main module (APP MODULE) but when I import into the ADM module it does not intercept anything. I would like to intercept only requests from my ADM module and not from every...
asked by 12.11.2018 / 14:26
1
answer

The 'this' context of the EventEmitterstring is not attributable to the 'this' method of type Observablestring

I looked at the example in a GitHub repository. The application runs successfully and the written code works fine, but I'm having the following error in my Visual Studio Code:    The 'this' context of type' EventEmitter 'is not assignable to...
asked by 04.11.2018 / 02:25
1
answer

Pick up the value of a radio button

Good evening, I'm finding it difficult to work with the radio buttons of my angular form. I need to get the values from my radio buttons, but no solution found here works, neither with jquery nor with pure javascripty. Here is the code: <ma...
asked by 09.11.2018 / 01:47
0
answers

matStepLabel is not showing the icon - Angular Material

I am performing a stepper on a page, and in my matStepLabel it initially shows the number from step "1", when the step is changed, instead of "1" the text "create" appears. I believe this create is actually an icon. I tried some things like:...
asked by 03.11.2018 / 15:37