@abgov/jsonforms-components 2.13.3 → 2.13.4
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/index.esm.js +3 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -6598,7 +6598,8 @@ const CheckboxGroup = props => {
|
|
|
6598
6598
|
handleChange,
|
|
6599
6599
|
options,
|
|
6600
6600
|
config,
|
|
6601
|
-
label
|
|
6601
|
+
label,
|
|
6602
|
+
enabled
|
|
6602
6603
|
} = props;
|
|
6603
6604
|
const newSchema = schema;
|
|
6604
6605
|
const enumData = (schema === null || schema === void 0 ? void 0 : schema.enum) || ((_a = newSchema === null || newSchema === void 0 ? void 0 : newSchema.items) === null || _a === void 0 ? void 0 : _a.enum) || [];
|
|
@@ -6609,6 +6610,7 @@ const CheckboxGroup = props => {
|
|
|
6609
6610
|
children: enumData.map(enumValue => {
|
|
6610
6611
|
return jsx(GoACheckbox, Object.assign({
|
|
6611
6612
|
name: enumValue,
|
|
6613
|
+
disabled: !enabled,
|
|
6612
6614
|
checked: data ? data.includes(enumValue) : false,
|
|
6613
6615
|
value: `${enumValue}`
|
|
6614
6616
|
}, appliedUiSchemaOptions, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.4",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|