Posts by Matheus Bernardi • 75 points
8 posts
-
2
votes1
answer295
viewsQ: Drag and drop with Angular CDK - Keep items in position after page refresh
I’m doing an angled drag & drop, but one of the rules I need in the application is that the item stays in the same place after the page is reloaded. Something more or less like the image. HTML…
-
0
votes1
answer318
viewsQ: Disconnect users or authenticate them again if the server is restarted - Angular 2
I have an Angular 2 application that is consuming an API in Nodejs. This application has JWT authentication. My problem is this: When the Node server is restarted, the user is still able to navigate…
-
0
votes0
answers113
viewsQ: Ng2-Charts Angular 2 - Update is performed on the chart, however, with empty data
I’m trying to update a graph using ng2-chartjs in Angular 2 (specifically Angular 7.2.0). When updating, the graph is resized, but the line of the graph is not drawn. To be clear, here’s what…
-
0
votes1
answer1183
viewsA: Modal Angular bootstrap - The content of the modal is inside an ng modal window
Actually the problem was really Materialize css with Bootstrap (css conflict). I just overwrote the css to solve the problem.
-
0
votes1
answer1183
viewsQ: Modal Angular bootstrap - The content of the modal is inside an ng modal window
I’m using modal bootstrap for angular, as per the documentation, this is the way to use the framework. I am following exactly as in the example. Here’s a bit of my code: <ng-template…
-
2
votes2
answers2120
viewsA: API works in POSTMAN, but not in code
The problem is with CORS, I could only solve the problem in this way: var cors = require('cors'); app.use(cors({origin:true,credentials: true})); And also setando the headers: app.use(function (req,…
-
0
votes0
answers56
viewsQ: Two Forms sending data to an API on Node
I am developing an application with Node and Mongoose. My problem is this: In the back end I have the model of an entity called Equipment. Schema has several parameters. I have a form to create an…
-
3
votes1
answer89
viewsQ: How to read this JSON correctly? MSSQL and Node
{ "recordsets": [ [ { "IdUsuario": 5152490, "strNome": "Roberto ", "IdPapel": 1 }, { "IdUsuario": 5152490, "strNome": "Roberto ", "IdPapel": 3000001 } ] ] I am trying to return to the customer only…