I'm developing an application in Laravel, at a certain point I had to use an array of objects to store the information that is going to be sent to the server, the problem I'm having is that I build my array but at a certain point that the array is very large, not all information is sent to the server, even when the arrangement is well built.
This is the code I am using to send the information by ajax.
data: $('#account_status_form :not(.test_checkbox)').serialize() + '&' +
$.param({
binomios: nuevos,
servicios_caballo: unique_horses,
deleted_inscriptions: deleted_inscriptions,
_token: '{{ csrf_token() }}'
}),
The arrangement that is generated is something like this:
(43)[{
active: "1",
caballo_id: 1,
caballo_nombre: "HIDALGO",
jinete_id: "1",
prueba_categoria_id: "1",
…
}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}]
That information comes in handy, but if I add a new object to the fix, the information of that last object does not come complete
Does anyone have any idea what the problem might be and how to fix it?