@7shifts/sous-chef 3.61.2-beta0 → 3.61.2-beta2
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/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -10903,7 +10903,8 @@ const useRadioGroupFieldControllers = ({
|
|
|
10903
10903
|
error: error !== undefined ? controllers.error : formikState.error,
|
|
10904
10904
|
value: value !== undefined ? controllers.value : formikState.value,
|
|
10905
10905
|
onChange: e => {
|
|
10906
|
-
|
|
10906
|
+
formik.setFieldValue(name, e.target.value);
|
|
10907
|
+
onChange && onChange(e.target.value);
|
|
10907
10908
|
}
|
|
10908
10909
|
});
|
|
10909
10910
|
}
|
|
@@ -11120,9 +11121,9 @@ const RadioGroupField = ({
|
|
|
11120
11121
|
onChange,
|
|
11121
11122
|
error
|
|
11122
11123
|
});
|
|
11123
|
-
const onChangeHandler =
|
|
11124
|
+
const onChangeHandler = e => {
|
|
11124
11125
|
controllers.onChange && controllers.onChange(e);
|
|
11125
|
-
}
|
|
11126
|
+
};
|
|
11126
11127
|
const contextValue = {
|
|
11127
11128
|
name,
|
|
11128
11129
|
disabled: _disabled,
|