@react-typed-forms/schemas 11.0.2 → 11.0.3

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/lib/index.js CHANGED
@@ -2265,7 +2265,7 @@ function CheckButtons(_ref) {
2265
2265
  disabled: disabled,
2266
2266
  checked: checked,
2267
2267
  onChange: function onChange(x) {
2268
- return setChecked(control, o, x.target.checked);
2268
+ !readonly && setChecked(control, o, x.target.checked);
2269
2269
  }
2270
2270
  }), /*#__PURE__*/React__default["default"].createElement("label", {
2271
2271
  className: labelClass,