Posts by Alessandro • 421 points
19 posts
-
0
votes0
answers28
viewsQ: Debug webhook (.net core) method
How can I debug the code of a method intended to receive an event through webhook? The communication is taking place without problem, because through the application ngrok, I can identify the…
-
0
votes1
answer52
viewsQ: Content-Security-Policy + Angular 8
I am applying the following security policy in a project: <meta http-equiv="Content-Security-Policy" content="script-src 'self'; style-src 'self'; img-src 'self';" /> On the console, I get the…
angularasked Alessandro 421 -
-1
votes1
answer330
viewsQ: agm-map/agm-Direction = "OVER_QUERY_LIMIT" (Angular 8)
The problem is to create a map with multiple routes and in each route multiple waypoints, for this, I am using Angular with the following modules: agm-map agm-Direction Code implemented: HTML:…
-
0
votes2
answers217
viewsQ: Problem passing Angular time to C# Core
The problem is to pass an hour value through an observable method (Angular 8) to a controller (C# Core 2.2), at the time of sending the data is correct: However, when I receive the values, it is…
-
-2
votes2
answers67
viewsQ: Angular 2x - Do not perform databinding for 2 equal objects
In my component I have 2 objects that use the same model, as below: Component: produtos: Produto[] = []; produtosOriginal: Produto[] = []; At a given time I make a copy of the values:…
angularasked Alessandro 421 -
-1
votes2
answers128
viewsA: Why do onclick events on table lines not work after loading?
In my view, this is the best approach, especially when manipulating HTML via JS (jQuery): HTML: <table> <tr class="id_linha" data-linha="1"> <td></td> </tr>…
-
2
votes1
answer904
viewsA: How to change the color of a mat-button in Angular?
See if this can help: CSS: .mat-button.mat-blue { color: blue; } .mat-raised-button.mat-blue, .mat-flat-button.mat-blue{ background-color: blue; color: white; } HTML: <button mat-button…
-
1
votes1
answer146
viewsA: Ajax request with data from another Ajax
Use the methods below to process calls: $.getJSON("https://...", function(dados1) { // 1ª Chamada }) .done(function(dados1) { console.log(dados1); // Dados retornados da primeira chamada…
-
0
votes1
answer130
viewsQ: Angular - ng2-Charts - Heading on x-axis
I am using (ng2-Charts) to implement a bar chart, and at the moment, I am trying to include a title with the percentage on the x-axis (as in the image below) and I am encountering difficulties.…
-
0
votes2
answers526
viewsA: modal call does not work (bootstrap)
<a href="#" id="alterarSenha">Alterar senha</a> <script> $("#alterarSenha").click(function() { $("#modalSenha").modal("show"); }) …
-
0
votes2
answers2253
viewsQ: Angular 8 / ngx-bootstrap / Datepicker
I’m using the datepicker da ng-boostrap and I am finding it difficult to format the date that goes to the input after clicking on the desired day: I would like it to be in format: dd/mm/yyyy.…
-
3
votes2
answers134
viewsQ: EF Core - Pass parameter with integer list
I am trying to execute a query by passing as clause an 'in' with integers, this is the code so far: public List<Pedido> GetByUsuario(List<GestorVendedor> gestorVendedor) { int[]…
-
4
votes2
answers7739
viewsQ: Flutter - Change internationalization of date names
I am new to Flutter and I would like to know if it is possible to automatically translate the names of the days of the week, months, etc ... encompassing every application?
-
-1
votes1
answer137
viewsQ: Uikit with interpolation in Angular 7
I’m using Uikit with Angular 7, and at the moment I’m trying to set the value of 'title' tooltip coming from the Angular component, something like: <progress class="uk-progress"…
angularasked Alessandro 421 -
1
votes2
answers70
viewsA: background color in input with highest value
Make a 'for' for every need: 1) Define index of higher value $indice = 0; for($i = 0; $i <= mysql_num_rows($resultado_cursos); $i++) { if ($maior < $teste =…
phpanswered Alessandro 421 -
1
votes4
answers358
viewsA: How to add the amount of days with jQuery
I would use the Momentjs library to work with dates/times, follow the link: https://momentjs.com/ In my opinion the best solution for complex calculations using these formats.…
-
0
votes3
answers73
viewsA: Requisicao ajax - query parameter
var valor_1 = "estado"; var valor_2 = "SP"; <script type="text/javascript"> $(document).ready(function () { ajsjax(valor_1, valor_2); …
-
14
votes2
answers8854
viewsQ: Differences between Python versions?
Hello ! I recently decided to start studying the Python language, however when researching the language I realized that there are differences between version 2 and 3. These differences are really…
-
3
votes1
answer108
viewsQ: What tools to use to create WEB games?
I would like your help in the following questions: 1. What better option for web game development ? 2. HTML5 with Canvas, Javascript and PHP ? What do you think of this combination ? 3. Python is an…