@wix/form-public 0.56.0 → 0.58.0
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.
- package/dist/_tsup-dts-rollup.d.cts +19 -3
- package/dist/_tsup-dts-rollup.d.ts +19 -3
- package/dist/index.cjs +2 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -22524,15 +22524,14 @@ var useForm3 = ({
|
|
|
22524
22524
|
errors,
|
|
22525
22525
|
onValidate,
|
|
22526
22526
|
submitForm,
|
|
22527
|
+
uploadFile,
|
|
22527
22528
|
fieldMap: fields
|
|
22528
22529
|
}) => {
|
|
22529
22530
|
const form = normalizeSchema(unformattedForm);
|
|
22530
22531
|
const [stepId, setStepId] = useState();
|
|
22531
22532
|
const actions = {
|
|
22532
22533
|
submitForm,
|
|
22533
|
-
uploadFile
|
|
22534
|
-
console.log("upload file not implemented");
|
|
22535
|
-
}
|
|
22534
|
+
uploadFile
|
|
22536
22535
|
};
|
|
22537
22536
|
const mappedFieldTypes = useMemo(
|
|
22538
22537
|
() => mapFieldTypes(fields, FIELD_TYPE_MAP),
|