mayak-common-library 0.0.102 → 0.0.103
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1370,7 +1370,7 @@ var ToggleButtonsWithLabel = (props) => {
|
|
|
1370
1370
|
} = props;
|
|
1371
1371
|
const { field } = (0, import_react_hook_form3.useController)(props);
|
|
1372
1372
|
const handleFormat = (_event, newFormats) => {
|
|
1373
|
-
|
|
1373
|
+
field.onChange(newFormats);
|
|
1374
1374
|
if (collapseOnClick && collapseParent) collapseParent();
|
|
1375
1375
|
};
|
|
1376
1376
|
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(import_material30.Stack, { children: [
|
package/dist/index.mjs
CHANGED
|
@@ -1325,7 +1325,7 @@ var ToggleButtonsWithLabel = (props) => {
|
|
|
1325
1325
|
} = props;
|
|
1326
1326
|
const { field } = useController3(props);
|
|
1327
1327
|
const handleFormat = (_event, newFormats) => {
|
|
1328
|
-
|
|
1328
|
+
field.onChange(newFormats);
|
|
1329
1329
|
if (collapseOnClick && collapseParent) collapseParent();
|
|
1330
1330
|
};
|
|
1331
1331
|
return /* @__PURE__ */ jsxs18(Stack6, { children: [
|