Posts by ShBr • 139 points
17 posts
-
0
votes0
answers29
viewsQ: Laravel Dusk and Select2
I am working with Laravel 8 and for the screen tests I am using the Dusk (https://laravel.com/docs/8.x/dusk). On one of the screens I have a Select2 with the property "tags" enabled…
-
-1
votes1
answer406
viewsQ: React - Dynamic table - Adding and removing rows from the table
I wrote the following code below, it is 100% functional with one exception. By clicking "remove" on the desired line, it removes the last line, not the correct one (that is, add 5 lines, ask q to…
-
2
votes1
answer59
viewsQ: Serialization problems in . Net Core 3
I am studying . NET Core API and having problems with relationships, where I get the error whenever I try to list all "calibrations" of "equipment". JsonException: A possible object cycle was…
asp.net-coreasked ShBr 139 -
0
votes1
answer147
viewsQ: Cors Error - Visual Studio . Net Web API React
I have a project where the back is in . net and the front in React. I can do all CRUD operations with Postman, however in React I get Cors error. I understand the cause of the problem, but I cannot…
-
0
votes2
answers141
viewsA: Onfocus function in Select2 input
hello, thank you so much for your help!
-
0
votes2
answers141
viewsQ: Onfocus function in Select2 input
I have a form where each field has a save action, is a "form". For this, each time I select a field, a save and cancel button appears to it. Meanwhile, with a field select2, these buttons do not…
-
3
votes1
answer616
viewsQ: Textarea with lines of text size
Can you help me? I have a Javascript function that increases the textarea size as we type the text and give ENTER. So far, everything ok. However, when pulling this information from the database,…
-
1
votes1
answer990
viewsQ: Laravel Combobox Autocomplete Select2 JS
Can you help me? I have the code further down working perfectly. But when I put inside a modal, I can’t write inside the text field. VIEW <select class="itemName form-control"…
-
1
votes1
answer122
viewsQ: Disable Collapse bootstrap v4 Standard 5.5
all right? For this my doubt, I already found solution for bootstrap 3 but for 4 no. I searched several pages, here in the stack, I tried to modify the css and nothing. Anyone can help?…
-
1
votes1
answer263
viewsQ: Query "or" and "and" in Laravel
Could someone help me? I need to do this query on the Laravel: SELECT * FROM materiais where material like '%caneta%' or localização like '%armario%' or fornecedor like '%kalunga%' and setor =…
-
1
votes1
answer6293
viewsQ: Update a single information in Laravel
I’m starting work with Laravel and I was wondering if you could help me. I need to update a single value in the bank, using 'name' in the Where clause instead of id. This is for a real system…
-
2
votes1
answer1183
viewsQ: Function load() open iframe
I have the code below that works perfectly. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script…
javascriptasked ShBr 139 -
0
votes0
answers23
viewsQ: Accent error in json with php
Can you help me? I have a code that looks like this: $var = "Paraná"; echo $var; $json = json_encode($var); echo $json; In the echo of $var, returns me: Paraná. In the echo of $json returns me:…
-
0
votes1
answer1603
viewsQ: List ftp folder with php
Good afternoon guys, can you help? I want to list all the files in a folder of an ftp connection with php, I am using this code: // Dados do servidor $servidor = 'server'; // Endereço $usuario =…
-
0
votes2
answers730
viewsA: Input number accept point in firefox
all right!! I got a much simpler solution using: < html lang="en" > This way the browser interprets the site with the language I want, so the point (.) starts to be accepted!!! Big Hugs!!!…
-
0
votes2
answers730
viewsQ: Input number accept point in firefox
can help me? I have this input number that must accept decimal values. People fill the decimal with a dot (.) and not a comma (,) In all browsers works very well, EXCEPT in firefox which is our…
-
0
votes1
answer708
viewsQ: Run an if in php only after a click on the button
I need to run a if in PHP only if there is a click on the button. Not having a click the if does not execute. I imagine I will need to interact Javascript with PHP, but... I read several posts but I…