jsf.js_next_gen 4.0.2-beta.6 → 4.0.2-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8349,13 +8349,13 @@ class XhrRequest extends AsyncRunnable_1.AsyncRunnable {
8349
8349
  const type = issuingItem.type.orElse("").value.toLowerCase();
8350
8350
  //Checkbox and radio only value pass if checked is set, otherwise they should not show
8351
8351
  //up at all, and if checked is set, they either can have a value or simply being boolean
8352
- if ((type == "checkbox" || type == "radio") && issuingItem.attr("checked").isAbsent()) {
8352
+ if ((type == "checkbox" || type == "radio") && !issuingItem.checked) {
8353
8353
  return;
8354
8354
  }
8355
8355
  else if ((type == "checkbox" || type == "radio")) {
8356
8356
  arr.assign(issuingItemId).value = itemValue.orElse(true).value;
8357
8357
  }
8358
- else {
8358
+ else if (itemValue.isPresent()) {
8359
8359
  arr.assign(issuingItemId).value = itemValue.value;
8360
8360
  }
8361
8361
  formData.shallowMerge(arr, true, true);