@felte/common
Advanced tools
Comparing version 1.1.6 to 1.1.7
@@ -124,2 +124,3 @@ export type Subscriber<T> = (value: T) => void; | ||
config: FormConfig<Data>; | ||
event?: Event; | ||
} & Omit<Helpers<Data>, 'validate' | 'setIsSubmitting' | 'setIsDirty' | 'setInteracted'>; | ||
@@ -126,0 +127,0 @@ type DebouncedConfig<Data extends Obj> = { |
@@ -124,2 +124,3 @@ export type Subscriber<T> = (value: T) => void; | ||
config: FormConfig<Data>; | ||
event?: Event; | ||
} & Omit<Helpers<Data>, 'validate' | 'setIsSubmitting' | 'setIsDirty' | 'setInteracted'>; | ||
@@ -126,0 +127,0 @@ type DebouncedConfig<Data extends Obj> = { |
@@ -109,5 +109,3 @@ import { isFormControl, isFieldSetElement, isInputElement, isSelectElement } from './typeGuards.js'; | ||
else { | ||
const selectedOptions = Array.from(el.options) | ||
.filter((opt) => opt.selected) | ||
.map((opt) => opt.value); | ||
const selectedOptions = Array.from(el.selectedOptions).map((opt) => opt.value); | ||
defaultData = _set(defaultData, elName, selectedOptions); | ||
@@ -114,0 +112,0 @@ } |
{ | ||
"name": "@felte/common", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Common utilities for Felte packages", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
280228
2188