Posts by Zerrrro • 1 point
3 posts
-
0
votes1
answer21
viewsQ: Do not insert null data sequence in Loop POST Reactjs
I am inserting a table in Mysql with a Loop, if the user does not type anything in the two fields: "quantityUsada" and "numeroLote" of the same index, I do not want to save in the database, would…
-
0
votes2
answers44
viewsA: Taking values from an Input Array in React
I managed to get the value of each input in specific, I will put the resolution. const [quantidadeUsada, SetQuantidadeUsada] = useState([]); const [numeroLote, setNumeroLote] = useState([]); const…
-
-1
votes2
answers44
viewsQ: Taking values from an Input Array in React
I’m adding two new inputs for each product that is returning me from <li>. In these new inputs I’m putting a onChange to take whatever is typed and put in my useState, but I’m having a hard…