@hubsync/esign-web-sdk 6.5.12 → 6.5.13

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.
@@ -603,6 +603,13 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
603
603
  this.focusField(fields[0]);
604
604
  return;
605
605
  }
606
+ // If current field is optional and unfilled, treat "Next" as skipping it
607
+ const currentField = fields.find(f => f.name === this.focusedField);
608
+ if (currentField && !currentField.required && !this.isFieldFilledForNav(currentField, this.getRecipientFields())) {
609
+ if (!this.skippedOptionalFields.includes(currentField.name)) {
610
+ this.skippedOptionalFields = [...this.skippedOptionalFields, currentField.name];
611
+ }
612
+ }
606
613
  const nextField = this.getNextFieldFromList(fields);
607
614
  this.focusField(nextField);
608
615
  }