@luomus/laji-form 15.1.35 → 15.1.36

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.
@@ -120,7 +120,7 @@ class CheckboxWidget extends React.Component {
120
120
  React.createElement(ToggleButton, Object.assign({ id: `${id}-undefined`, ref: this.undefinedRef, value: "undefined", className: utils_1.classNames(value === undefined && tabTargetClass) }, commonProps, { onKeyDown: this.onUndefinedKeyDown }), unknownLabel) : null))));
121
121
  const { Label } = this.props.formContext;
122
122
  return !hasLabel ? checkbox : React.createElement(React.Fragment, null,
123
- React.createElement(Label, { label: label, required: required, uiSchema: options, contextId: this.props.formContext.contextId }),
123
+ React.createElement(Label, { label: label, required: required, uiSchema: this.props.uiSchema, contextId: this.props.formContext.contextId }),
124
124
  checkbox);
125
125
  }
126
126
  formatValue(value, options, props) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luomus/laji-form",
3
- "version": "15.1.35",
3
+ "version": "15.1.36",
4
4
  "description": "React module capable of building dynamic forms from Laji form json schemas",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",