Skip to content

Commit

Permalink
checkbox al limpiar no borra
Browse files Browse the repository at this point in the history
  • Loading branch information
hmartinez85 committed Dec 20, 2024
1 parent 21f685c commit 91f9131
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/rup_table/rup.table.js
Original file line number Diff line number Diff line change
Expand Up @@ -1006,8 +1006,12 @@
}
}
} else {
elem.defaultValue = "";
elem.value = "";
if(elem.type == 'checkbox'){//los checkbox pueden tener valor asignado.
elem.value = elem.defaultValue;
}else{
elem.defaultValue = "";
elem.value = "";
}
}
});

Expand Down

0 comments on commit 91f9131

Please sign in to comment.