kui-complex 0.0.80 → 0.0.82
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/Switch/cjs/index.js +1 -1
- package/Switch/cjs/index.js.map +1 -1
- package/Switch/index.d.ts +1 -1
- package/Switch/index.js +1 -1
- package/Switch/index.js.map +1 -1
- package/TestForm/cjs/index.js +1 -1
- package/TestForm/cjs/index.js.map +1 -1
- package/TestForm/index.js +1 -1
- package/TestForm/index.js.map +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -924,7 +924,7 @@ var Switch = forwardRef(function (_a, ref) {
|
|
|
924
924
|
var form = _a.form, name = _a.name, props = __rest(_a, ["form", "name"]);
|
|
925
925
|
return (jsx$1(Controller, { control: form === null || form === void 0 ? void 0 : form.control, name: name, render: function (_a) {
|
|
926
926
|
var field = _a.field;
|
|
927
|
-
return (jsx$1(Switch$1, __assign({ checked: Boolean(field.value), onChange: field.onChange, "data-testid": name, ref: ref }, props)));
|
|
927
|
+
return (jsx$1(Switch$1, __assign({ checked: Boolean(field.value), onChange: field.onChange, "data-testid": name, ref: ref, name: name }, props)));
|
|
928
928
|
} }));
|
|
929
929
|
});
|
|
930
930
|
|