Commit 78142989 by Tu Nombre

Modificacion de snap segun pedido de incidente

1 parent 7cb46545
......@@ -5,7 +5,7 @@ window.allFieldsToJson = function allFieldsToJson() {
fields.forEach(field => {
const key = field.name;// || field.id; // Usa el nombre del campo, o su ID si no tiene nombre
const value = field.value;
const ignorar = ["?","","---",false,"-",]
const ignorar = ["?"];//["?","","---",false,"-",]
if (!ignorar.includes(value)){
// Si la clave ya existe (por ejemplo, en caso de checkboxes o radios con el mismo nombre)
if (data.hasOwnProperty(key)) {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!