@italia/icon 1.0.0-alpha.6 → 1.0.0-alpha.7

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.
@@ -459,6 +459,7 @@ class FormControlController {
459
459
  }
460
460
  break;
461
461
  case 'it-checkbox':
462
+ case 'it-toggle':
462
463
  if (this.host.checked) {
463
464
  if (event.formData.getAll(name).indexOf(value) < 0) {
464
465
  // handle group checkbox
@@ -467,6 +468,7 @@ class FormControlController {
467
468
  }
468
469
  break;
469
470
  case 'it-checkbox-group':
471
+ case 'it-toggle-group':
470
472
  // non settare valori in formData, perchè ogni singola checkbox setta il suo valore
471
473
  break;
472
474
  default:
@@ -1078,7 +1080,7 @@ if (typeof window !== 'undefined') {
1078
1080
  window._itAnalytics = window._itAnalytics || {};
1079
1081
  window._itAnalytics = {
1080
1082
  ...window._itAnalytics,
1081
- version: '1.0.0-alpha.6',
1083
+ version: '1.0.0-alpha.7',
1082
1084
  };
1083
1085
  }
1084
1086