@hubsync/esign-web-sdk 6.9.29 → 6.9.30

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.
@@ -502,7 +502,14 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
502
502
  // TODO: Remove legacy type when no longer needed
503
503
  case 'textarea':
504
504
  case 'textbox':
505
- return this.saveFieldChange(field.name, value, false);
505
+ return this.saveFieldChange(field.name, value, false).then(() => {
506
+ // Advance to the next unfilled field once a value is actually entered, matching the
507
+ // signature/initial/date behavior. Guard on a non-empty value so a stray focusout on an
508
+ // empty/cleared field (e.g. tabbing through or skipping) doesn't yank focus away.
509
+ if (value) {
510
+ this.focusNextFieldAfter(field);
511
+ }
512
+ });
506
513
  case 'checkbox': {
507
514
  return this.saveFieldChange(field.name, String(e.target.checked), false);
508
515
  }