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