@verdocs/web-sdk 4.2.138 → 4.2.139

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.
@@ -314,6 +314,7 @@ const VerdocsSign = class {
314
314
  isFieldFilled(field) {
315
315
  const { value = '' } = field;
316
316
  switch (field.type) {
317
+ case 'textarea':
317
318
  case 'textbox':
318
319
  switch (field.validator || '') {
319
320
  case 'email':
@@ -330,9 +331,8 @@ const VerdocsSign = class {
330
331
  // Timestamp fields get automatically filled when the envelope is submitted.
331
332
  case 'timestamp':
332
333
  return true;
333
- case 'textarea':
334
334
  case 'date':
335
- return value !== '';
335
+ return !!value;
336
336
  case 'attachment':
337
337
  return value === 'attached';
338
338
  case 'dropdown':
@@ -318,6 +318,7 @@ export class VerdocsSign {
318
318
  isFieldFilled(field) {
319
319
  const { value = '' } = field;
320
320
  switch (field.type) {
321
+ case 'textarea':
321
322
  case 'textbox':
322
323
  switch (field.validator || '') {
323
324
  case 'email':
@@ -334,9 +335,8 @@ export class VerdocsSign {
334
335
  // Timestamp fields get automatically filled when the envelope is submitted.
335
336
  case 'timestamp':
336
337
  return true;
337
- case 'textarea':
338
338
  case 'date':
339
- return value !== '';
339
+ return !!value;
340
340
  case 'attachment':
341
341
  return value === 'attached';
342
342
  case 'dropdown':
@@ -317,6 +317,7 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
317
317
  isFieldFilled(field) {
318
318
  const { value = '' } = field;
319
319
  switch (field.type) {
320
+ case 'textarea':
320
321
  case 'textbox':
321
322
  switch (field.validator || '') {
322
323
  case 'email':
@@ -333,9 +334,8 @@ const VerdocsSign$1 = /*@__PURE__*/ proxyCustomElement(class VerdocsSign extends
333
334
  // Timestamp fields get automatically filled when the envelope is submitted.
334
335
  case 'timestamp':
335
336
  return true;
336
- case 'textarea':
337
337
  case 'date':
338
- return value !== '';
338
+ return !!value;
339
339
  case 'attachment':
340
340
  return value === 'attached';
341
341
  case 'dropdown':