Posts by Leonardo Theodoro • 381 points
27 posts
-
1
votes1
answer234
viewsQ: Align items always to the center horizontally
I am trying to get the following result on my page: But the actual result I’m getting is this: Now, the information: I’m using Skeletonjs and Vue The circles will be dynamic, so if for example there…
-
-1
votes1
answer381
viewsQ: Configuring Eslint with adonisjs
I’m trying to configure Eslint in a project that uses Adonisjs but he asks me what kind of modules the project uses, Javascript Modules, Commonjs or none of these. Could someone tell me what kind of…
-
0
votes3
answers814
viewsQ: "code ." does not work on linux Mint (zsh terminal)
I’m trying to use the command "code." zsh terminal to open the folder in vscode, but when I run the command it returns me the following error message: zsh: no such file or directory:…
-
1
votes1
answer42
viewsQ: Columns don’t line up inside Row
I’m trying to align a grid as follows: 3 columns x N rows <div class="row" style="margin-top: 150px;"> @forelse($models as $model) <div class="col-md-4" style="margin-left: 5px;">…
-
-1
votes1
answer24
viewsQ: Unable to send email. Contact the site Administrator if the problem persists. Drupal 8
I am trying to send the password recovery email in Drupal 8, however, when I enter the email and send, it returns me the following error: "Unable to send email. Contact the site Administrator if the…
-
0
votes0
answers23
viewsQ: es.json contains an invalid Laravel JSON structure
I have the file es.json: { "You are not allowed to do this": "No se te permite hacer esto", "Error uploading the image": "Error al subir la imagen", "Something went wrong, please contact support":…
-
2
votes1
answer402
viewsQ: Tooltip is not set inside the modal
I’ve read and tested several questions from here on stackoverflow pt e en and a few more issues on github but none of them helped me solve the problem. I’m trying to set a tooltip inside the modal,…
-
3
votes3
answers459
viewsQ: How to make two WHERE clauses inside a nested WITH
I have the following code snippet $sectors = Sector::where('company_id', $id) ->where('status', '0') ->with('charges.levels') ->get(); and need 3 conditions Status of sector be it 0 Status…
-
1
votes1
answer214
viewsQ: How do I make the onclick event work on a button where Parent already has an onlick?
I have a div father who in it occurs an event onclick in div but within that div I want to have an element that also has an event onclick that is triggered without triggering the onclick of div…
-
0
votes1
answer114
viewsQ: Typescript not enabling the use of the files property
I’m having a problem in Ionic, where I use the property .files in an id of an element <input type="file">, in that way: <input type="file" id="images" multiple> this.register.images =…
-
1
votes3
answers58
viewsQ: How to concatenate a variable in the middle of another variable?
I would like to make the content of a variable form another variable, for example: $name = 'clientes'; $default_$name_list = "Lista de clientes"; I want to make the default variable…
phpasked Leonardo Theodoro 381 -
0
votes1
answer868
viewsQ: new stdClass continues showing Warning "Creating default Object from Empty value"
I have the following php code $obj = new \stdClass; foreach($_GET as $key => $value) { $obj->get->$key = $value; } foreach($_POST as $key => $value) { $obj->post->$key = $value; }…
phpasked Leonardo Theodoro 381 -
0
votes0
answers231
viewsQ: Select2 with incorrect styling
I’m using a Lect2, but its style is coming in a way that wasn’t expected. That way: How I make it fit and align with the input-group? HTML code: <div class="form-row"> <label…
-
0
votes1
answer37
viewsA: ng-controller not found (not working properly)
After reading this link on github: https://github.com/angular/angular.js/issues/1307 The user ceymard quoted that From what I understood in the end, the behavior of transclude is Perfectly normal in…
-
0
votes1
answer37
viewsQ: ng-controller not found (not working properly)
I have a modal that has a "userCtrl" controller. I call all the scripts in the page loading (end of body), however, the modals, I load dynamically from the moment the user clicks the button, using…
-
7
votes6
answers1028
viewsQ: How to subtract an array
Assuming I have an array let arr1 = [ {nome: 'Fulano', idade: 19}, {nome: 'Ciclano',idade: 20}, {nome: 'João', idade: 20}, {nome: 'Maria', idade: 30}, {nome: 'Teste', idade: 52} ] and I have another…
-
-1
votes1
answer243
viewsA: Take input value with jQuery
I managed to solve the problem, the problem was that when I used the .get() at the end of $.each, he took the DOM element instead of the value, so I decided to use the .map() in place of .each(), so…
-
0
votes1
answer243
viewsQ: Take input value with jQuery
I’m trying to get the value of however, it returns me only the input.pgt as seen in the image above, already tried with . value and . val(), but still not working, follows the image of the code…
-
1
votes1
answer86
viewsQ: Uniting arrays where they have a certain equal field
How do I join several arrays in an array when they have the same fields? I have this following array being returned, I would like to group them into a single array where they have the same value pro…
-
0
votes2
answers98
viewsA: Functions in PHP... How to use?
Debris from the code of index.php you must include the file that contains the function using include or require. include 'nome_do_arquivo.php'; or require 'nome_do_arquivo.php'; Done that, just call…
phpanswered Leonardo Theodoro 381 -
1
votes1
answer870
viewsQ: Taking multiple equal input values and storing in an array with Javascript/jQuery
I got this div, that’s <div class='pergunta'>, inside of her I have <input type='text'> <select></select> <input type='checkbox'> The point is that this entire div can…
-
1
votes0
answers31
viewsQ: ng-include improves site performance?
Good afternoon I wonder if I separate html into parts and use ng-include to add them to the index, improve the performance of the site? making it faster Grateful from now on !!…
-
2
votes3
answers1462
viewsA: How to create an input search html that is represented by just an icon
in HTML you will use a label with the image inside and the input outside, thus: <label for="imagem" id="label"> <img src=".." id="pesquisa"> </label> <input type="search"…
-
2
votes1
answer2359
viewsQ: Return of "?" instead of the special characters in a SELECT
I’ve got a problem, I’ve encoded everything with utf-8, I’ve tried multiple ways to fix it and I can’t, in one <option> of HTML, I pull a table from the database, but it returns with a special…
-
0
votes1
answer63
viewsQ: How do I make a consistency in the form so it only accepts 100x100 images?
I am making a crud type system and has an input field for the user to send his photo, however the photo has to be in size 100x100, there is a way for the form to accept only images of this size or…
-
0
votes1
answer266
viewsQ: Automatic character insertion in a form to validate CPF
Friends, I am making a CRUD system and now I am working on consistencies, and in the part q the user type the CPF, I want that after typing 3 numbers, a point is inserted automatically, can anyone…
-
-3
votes1
answer97
viewsQ: PHP MVC error, everything is working but there is this error message on the site
Notice: Undefined index: ok in C: xampp htdocs Olimpiada controller Controleusuario.php on line 17…