Posts by Bruno Elias de Souza • 77 points
13 posts
-
0
votes1
answer166
viewsA: How to change the value of an object within the array with Formik and Yup?
The problem was the name of the input, thus putting: <TextField error={Boolean(touched.addresses && errors.addresses && errors.addresses.map(addressesName =>…
-
-1
votes1
answer166
viewsQ: How to change the value of an object within the array with Formik and Yup?
Here I create the initial values of Shape: const defaultFormShape = { name: '', email: '', group: { id: '' }, addresses: [{ name: '' ]} }; And here I validate Schema: const validationSchema =…
-
0
votes1
answer224
viewsA: PHP mPDF barcode problems
RESOLVED i solved with PHP’s str_replace function, changed the width of the barcode pixels, thus: $url = file_get_contents($path); //troca os pixels de largura do código de barras do boleto $new_url…
-
0
votes1
answer224
viewsQ: PHP mPDF barcode problems
I receive a URL of a billet generated in ASP, use the mPDF class to send this billet to the server, recover the generated billet and send by email with Phpmailer. What happens is that in gmail the…
-
0
votes1
answer119
viewsQ: Change file name when sending email
I am sending emails with PHP mPDF files, but there is a situation where I recover a URL that contains a boleto, from that URL I take the content and saved in a temporary folder on the server, but I…
-
3
votes4
answers720
viewsA: Change comma per point
You’re trading the "." for an empty value, replace has to be like this replace(",", ".")
javascriptanswered Bruno Elias de Souza 77 -
0
votes1
answer25
viewsA: Javascript in the middle of the code?
I know for example the EJS, is a Javascript engine and serves for when you want to bring data from the back end to the front end, and display in a field, label, among others. This you can do in the…
javascriptanswered Bruno Elias de Souza 77 -
1
votes1
answer82
viewsQ: Binding with PHP and Postgresql
Good people, I’m having a problem making an insert in the postgresql database, this is my insert: INSERT INTO dynfipemarca (codigomarca,marca,tipo, OID, fgenabled, fgsystem , nrversion) VALUES…
-
0
votes1
answer310
viewsQ: Taking ownership of an object with jquery and changing its style with css
Problem: I mount a news modal with properties of an object, however, in the title property of the object I need to pass the number of views dynamically, and need to change the source of the number…
-
1
votes0
answers458
viewsQ: Insert Modal data into table via Ajax PHP and Javascript
I’m trying to insert data from a table of my Modal in the table "father" of my page, basically I have a modal, where I gave a select to bring the data that is not in the parent table and the user…
-
2
votes1
answer3378
viewsQ: Open CSV file and read its contents
I have the information from the CSV file on console.log back-end, I would need to access this file and read its contents, some hint? This is the code snippet from the back end that receives the…
-
0
votes1
answer57
viewsQ: Update method does not update in the database
With a problem when editing, when I click on the button it looks for the information of the fields in the console.log, already has the ID on the route also the problem is that it does not update the…
-
0
votes1
answer42
viewsQ: Angular4 method edit
I started in angular4 a little while, I need to take the information of a field and pass to the screen of Edit, I already have this information in a console.log of the screen Dit that I put to test,…