Skip to content

Commit

Permalink
avoid cleaning radiotype values
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinovg authored and chenejac committed Jan 28, 2025
1 parent a299643 commit 3284b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/main/webapp/js/customFormUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ vitro.customFormUtils = {

// Clear data from form elements in element el
clearFields: function(el) {
el.find(':input[type!="hidden"][type!="submit"][type!="button"]').each(function() {
el.find(':input[type!="hidden"][type!="submit"][type!="button"]:not(.radiotypes)').each(function() {
$(this).val('');
// Remove a validation error associated with this element.
// For now we can remove the error elements. Later we may include them in
Expand Down

0 comments on commit 3284b06

Please sign in to comment.