@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.
@@ -478,7 +478,14 @@ const VerdocsSign = class {
478
478
  // TODO: Remove legacy type when no longer needed
479
479
  case 'textarea':
480
480
  case 'textbox':
481
- return this.saveFieldChange(field.name, value, false);
481
+ return this.saveFieldChange(field.name, value, false).then(() => {
482
+ // Advance to the next unfilled field once a value is actually entered, matching the
483
+ // signature/initial/date behavior. Guard on a non-empty value so a stray focusout on an
484
+ // empty/cleared field (e.g. tabbing through or skipping) doesn't yank focus away.
485
+ if (value) {
486
+ this.focusNextFieldAfter(field);
487
+ }
488
+ });
482
489
  case 'checkbox': {
483
490
  return this.saveFieldChange(field.name, String(e.target.checked), false);
484
491
  }